[MPlayer-dev-eng] [PATCH] automatically insert vf_expand for displaying OSD

Attila Kinali attila at kinali.ch
Sat Sep 4 04:21:54 CEST 2004


On Mon, Aug 30, 2004 at 10:49:30PM +0200, Reimar Döffinger wrote:
 
> I agree, a better solution is necessary. But I'd like to know if it 
> works, so if you can test (e.g. with vo_gl or by removing VFCAP_OSD from 
> other drivers) please do!
> The reason I want this is because
> 1) vo_gl2 OSD is broken (bug #55).
> 2) It would allow to remove duplicate code from (possibly at a little 
> loss of speed?) vo_gl2, vo_x11, vo_xv etc... nearly all vos do OSD 
> drawing via software, although some can do it in a way that saves one 
> copying of the frame...

Actualy, i'd like to change the way how OSD is drawn totaly.
The reason is, that the current system is very limted, we only support
b/w (YA) subs and only text with no positioning code.

What i'd like to have is something that can draw any colour at any
position into the video. The problem with this is, that it has to be
done at some point with a vf as i dont see any way how it could be done
with hw acceleration w/o being a big hack on most vo drivers.
But, fidling with the video stream also means that it will be a major
slowdown even if done the right way.

Has someone (Rich ? Alex ?) an idea how this can be done in a fast way
w/o more than 50% speed los compared to the current system ?

			Attila Kinali




More information about the MPlayer-dev-eng mailing list