logo       

Re: xine's osd: msg#00143

video.xine.devel

Subject: Re: xine's osd

Hi,

Reinhard Nissl wrote:

my plugin for VDR is making good progress. The osd is almost functional, but I seem to have problems with xine's osd.

http://home.vr-web.de/~rnissl/vdr-osd-xine-xshm.png shows you the osd of VDR displayed via the osd api of xine using the xshm video output module. It looks quite ok.

Can it be, that I need to reduce the width and height of an osd object by one or at least when calling xine_osd_draw_bitmap()?

It seems to me that the rightmost pixels of the osd really should be leftmost and also the garbage at the bottom (have a look below the "Mark" button) could be matter of that.

To get it working, I had to create the osd object one pixel wider and higher then expected.

Maybe there is a problem in detecting the correct update size for xine_osd_draw_bitmap(). Drawing a bitmap at (0, 0) of size (w, h) seems to define an update area at (0, 0) of size (w + 1, h + 1), but the osd object's internal bitmap doesn't have data for the additional pixel respectively line, so garbage is output.

I'll have a look at the osd renderer and check my assumptions for truth.

Bye.
--
Dipl.-Inform. (FH) Reinhard Nissl
mailto:rnissl@xxxxxx



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise