[Ffmpeg-devel] [Patch] Fix A/V sync error in ffplay....

Guillaume POIRIER poirierg
Fri Mar 2 14:27:08 CET 2007


Hi,

On 3/2/07, Michael Niedermayer <michaelni at gmx.at> wrote:
> Hi
>
> On Wed, Feb 28, 2007 at 03:28:31PM -0600, Ryan Martell wrote:
> > In looking for the problem detailed in wmv3/wmav2 sync error, I found
> > this.
> >
> > On my machine, the audio_hw_buf_size is 4k.  The audio_buf_index
> > actually is an index into audio_buf_size, not audio_hw_buf_size.
> >
> > This returns a negative number, which was the cause of my sync errors.
> >
> > This is a tiny patch, but could be far reaching in significance.  I
> > know it's "right", but not sure if anything else might get broken by
> > it..
>
> well, id say lets apply it that way we will find out if it breaks anything
> quickly

Cool, applied.

Guillaume




More information about the ffmpeg-devel mailing list