[MPlayer-dev-eng] [PATCH] bframes, dwStart: individual patches

Oded Shimon ods15 at ods15.dyndns.org
Sat Feb 18 11:24:10 CET 2006


On Fri, Feb 17, 2006 at 01:37:34PM -0800, Corey Hickey wrote:
> Oded Shimon wrote:
> >>+    muxer->audio_delay_fix -= sh_video->stream_delay;
> 
> ...
> 
> >>+    muxer->audio_delay_fix += sh_audio->stream_delay;
> > 
> > Could you explain this?... Why do you add and then remove the stream delay?
> 
> Do you mean the two lines I've left quoted above? The first is for
> video, where a positive stream_delay gets translated into negative audio
> delay, and the second is for audio.

Ohhh, I missed that one was sh_video, and the other sh_audio...

BTW, you should note in the man page that -audio-delay only works for -of 
avi . ("currently only implemented for..")

- ods15




More information about the MPlayer-dev-eng mailing list