[MPlayer-dev-eng] [PATCH] af_skip to skip first audio samples

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Thu Aug 17 22:13:59 CEST 2006


Hello,
On Thu, Aug 17, 2006 at 10:59:32PM +0300, Uoti Urpala wrote:
> What kind of use cases would you have for this filter? The -delay one
> you mention would IMO be better handled by a sync option to throw away
> decoded audio if the current audio position is significantly behind
> video.

That sounds rather difficult and fragile, not to mention that you can't
decide then where in the filter chain to throw away the audio.
I think it wouldn't be too difficult to extend this approach so later
the mplayer.c core can tell the filter "hey, throw away the next 10
seconds of audio".
Also, is there any specific part of the patch you dislike? What about
the change to mplayer.c, it probably makes sense/is needed for any
filter that causes a significant delay or needs a lot of data to start
its work, like -af delay.

Greetings,
Reimar Döffinger



More information about the MPlayer-dev-eng mailing list