[prev in list] [next in list] [prev in thread] [next in thread]
List: xine-user
Subject: [xine-user] expand post-plugin and OSD placement
From: "Jussi Kukkonen" <jussi.kukkonen () gmail ! com>
Date: 2006-09-13 16:14:55
Message-ID: 5369e0930609130914p36427a04r42445149aff1c1f4 () mail ! gmail ! com
[Download RAW message or body]
Hi all,
I'm using xineliboutput (which uses xine-lib) as the output device of
VDR. The VDR on-screen-display is drawn "software blended" because I
use DirectFB. Now, if I watch 16:9 video (letterboxed) on my 4:3 TV,
the OSD gets scaled vertically -- only the video area is used for the
OSD.
I was told that the 'expand' post-plugin might help*. Well, after some
tweaking, it did. As far as I see the expand plugin makes the OSD
start not from the top of the screen, but from the beginning of the
(non-expanded) picture area. Is there a justification for this (or
have I misunderstood)?
Here's the culprit code in expand_overlay_add_event
(xine-lib/src/post/planar/expand.c):
---
switch (event->object.object_type) {
case 0:
/* regular subtitle */
if (this->enable_automatic_shift)
event->object.overlay->y += 2 * this->top_bar_height;
else
event->object.overlay->y += this->overlay_y_offset;
break;
case 1:
/* menu overlay */
event->object.overlay->y += this->top_bar_height;
}
---
I'm looking at xine-lib code for the first time, so I'm not claiming
to understand it. Still, removing "case 1" seems to work for me. Should I
file a bug or not?
*) http://sourceforge.net/tracker/index.php?func=detail&aid=1554070&group_id=160063&atid=814342
--
Jussi Kukkonen
jussi.kukkonen@gmail.com
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
xine-user mailing list
xine-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xine-user
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic