[MPlayer-dev-eng] [PATCH] video pause/resume

Arpi arpi at thot.banki.hu
Mon Feb 18 17:57:52 CET 2002


Hi,

> Hi,
> here is a nice little patch that implements VOCTRL_PAUSE and
> VOCTRL_RESUME. The dxr3 works alot like an audio card, therefore it also
> needs to be signal when to pause video playback since it prebuffers a
> couple of frames. Without this patch the dxr3 will play out the frames
> in the buffer when pausing and after unpausing sync will be lost.
> 
> Also, the responsiveness of the em8300 is sluggish at best, therefore I
> placed video_out->control(VOCTRL_PAUSE) before audio_out->pause, and
> resume after audio_out->resume, this eliminates any chance of small sync
> losses (it shouldn't matter on other hardwares anyway).
> 
> //David Holm
> 

it seems to be ok, apply it.


A'rpi / Astral & ESP-team

--
Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu



More information about the MPlayer-dev-eng mailing list