[MPlayer-dev-eng] [PATCH] VFCTRL_PERIODIC_UPDATE

Jason Tackaberry tack at urandom.ca
Thu Jan 11 02:35:31 CET 2007


Hi,

The patch attached implements a new VFCTRL as suggested (and basically
coded :)) by Reimar Doeffinger.  The VFCTRL allows a filter to update
the mpi while mplayer is paused, and as well in between frames.

Because this allows updating the vo during the sleep loops, if the
vfctrl is consumed, it sleeps for smaller intervals to allow more
frequent updating.  In the case where the vctrl isn't consumed (the
common case), this patch will not affect performance (i.e. should sleep
the same amount as mplayer does without the patch).

This patch is a prerequisite for vf_overlay, which I will be submitting
separately later.  vf_overlay allows an app controlling mplayer to
composite an arbitrary BGRA overlay onto a video either playing or
paused, and allows the overlay to be updated in a matter that is
independent of the video's frame rate.

I'm hoping to land this (and vf_overlay) before rc2. :)

Thanks,
Jason.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vfctrl-periodic-update.patch
Type: text/x-patch
Size: 3365 bytes
Desc: 
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20070110/1d72fa50/attachment.bin>


More information about the MPlayer-dev-eng mailing list