[MPlayer-users] subtitles posicion

Fredrik Kuivinen freku045 at student.liu.se
Wed May 15 20:58:02 CEST 2002


On Tue, May 14, 2002 at 11:05:54AM +0200, Arpi wrote:
> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
> Hi,
> 
> > > at vf level we don't know the vo's parameters (screen aspect, screen
> > > width/height) so can't calculate the ideal height of black bands
> > 
> > What do you think about adding a new control call that gets the screen
> hmm. not a bad idea :)
> and really easy and clean to implement.
> 
> > size? The vo driver would probably need to notify the filters about
> > screen size changes somehow too...
> this one is a bit harder. maybe, after vo->check_events call in mplayer.c,
> we could check for changes and tell it to the vf filters.
> anyway asking the vo w/h for every frame is simpler, and won't eat so much
> cpu to worth to optimize.
> 

Another way is to let the filters that need it take care of it.
Instead of notifying them they will have to check at every frame if
the screen size has changed.

/ Fredrik




More information about the MPlayer-users mailing list