[MPlayer-dev-eng] [PATCH] VFCTRL_PERIODIC_UPDATE

Jason Tackaberry tack at urandom.ca
Fri Jan 12 01:10:41 CET 2007


On Thu, 2007-01-11 at 18:41 -0500, Jason Tackaberry wrote:
> So I propose that periodic_update() can return 3 values:
> 
>         1: filter updated the frame and requests it be flipped, and do
>         not sleep longer than 10ms.  Corresponds to CONTROL_TRUE.
>         
>         0: filter did not update the frame, so no need to flip, but may
>         need to update soon, so do not sleep for longer than 10ms.
>         Corresponds to CONTROL_FALSE.

Oops, these can be consolidated of course (and nearly already were to
begin with).  The caller doesn't care if the page was flipped.

See the attached patch for the changes I suggested earlier.

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


More information about the MPlayer-dev-eng mailing list