[MPlayer-dev-eng] Re: [PATCH] VFCTRL_PERIODIC_UPDATE

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Fri Jan 19 19:14:48 CET 2007


Hello,
On Fri, Jan 19, 2007 at 07:17:05PM +0200, Uoti Urpala wrote:
> On Fri, 2007-01-19 at 16:42 +0100, Dirk Meyer wrote:
> > Is there any chance this patch will be included into mplayer? It is
> > needed for the freevo osd on top of a movie. It would help if you at
> > least tell us to go away if you won't include the patch. In that case
> > we won't try to get patches merged which would save us some time.
> 
> I think the patch should not be included as is. The timing-related
> changes try to work around limitations that could be removed instead. A
> better way would be as follows:
> 
> 1) Remove the forced unpause when handling slave commands.
> 
> 2) Change timing sleep to do a select on input fds instead of plain
> nanosleep/usleep and process any input immediately (at least on Unix,
> doing this on Windows would require more work).
> 
> If I've understood correctly what you intend to do with the overlay
> filter then after those changes implementing it should be a lot more
> straightforward. It could use ordinary slave commands which would remove
> the need for both the input filter hacks mentioned earlier and
> VFCTRL_PERIODIC_UPDATE (since the only mentioned use for the update was
> basically to check input instead of any real filter functionality).

Huh? To check input yes, but to update the picture on screen, too. How
to do that without either something like VFCTRL_PERIODIC_UPDATE or
unpausing (which is not okay).
Not to mention, how is this supposed to work with e.g. 0.2 fps "videos"
(e.g. slideshow, or someone accidentially reducing speed a bit too
much)?
IMO if you want a completely different approach be more detailed so
someone without a full understanding of the whole MPlayer main loop and
filter chain has a chance to understand (and estimate if it will work),
or (IMO better) just suggest tweaks to this patch to contain what annoys you
most until it is acceptable.

Greetings,
Reimar Döffinger



More information about the MPlayer-dev-eng mailing list