[MPlayer-dev-eng] [PATCH] smooth playback with NAS and all audio drivers

Arpi arpi at thot.banki.hu
Tue Sep 24 02:27:49 CEST 2002


Hi,

>   way.  I will take a closer look tonight: might it be possible to do
>   all three things which depend on delay (frame dropping, audio time
>   correction, and A/V sync adjustment) at the same point in time to

no it isn't possible

you need to calc it to decide wheter to drop frame or not,
and after the video decoding, you have to calc again to find teh delay to
display.

>   determining if frame dropping is needed.  By the time the average
>   reaches one frame behind, there's nothing else to do but drop frames
>   to keep the video from falling behind.  If you like the idea, I'll
no i don't like.

>   code it up tonight and you can have a look?

actually we're very close to the 0.90 release, with a mostly working a-v
sync and framedrop code. i won't do such big changes before the release.

adding an if(){} which doesn't modify the behaviour of other code _at_all_,
is ok, but nothing more.

testing such changes took very long, needs tests on wide range of machines
and drivers.

also, please make separate patches for separate things, this time i could
separate your experimental avsync code from RTF fixes, but you should do it,
send trivial fixes and experimental code in different patches.


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