[MPlayer-dev-eng] dwStart (stream delay in AVI files)

Corey Hickey bugfood-ml at fatooh.org
Tue Jan 31 05:29:49 CET 2006


Corey Hickey wrote:
> I can only find one references to dwStart in the demuxer code; it's in
> demux_avi.c, demux_seek_avi(), line 711. Here are a few lines around
> that one:
> 
> ----------
> curr_audio_pos=(priv->avi_video_pts)*(float)sh_audio->audio.dwRate/(float)sh_audio->audio.dwScale;
> curr_audio_pos-=sh_audio->audio.dwStart;
> curr_audio_pos*=sh_audio->audio.dwSampleSize;
> ----------
> 
> So, it looks as if the AVI demuxer tries to adjust, but it doesn't have
> the right effect.

I forgot to mention:
Since those lines are in the seeking function, I tried seeking -- there
was no effect on the A-V sync either.

-Corey




More information about the MPlayer-dev-eng mailing list