[MPlayer-dev-eng] [PATCH] use libavutil fifo.h in ao_macosx.c
Emanuele Giaquinta
emanuele.giaquinta at gmail.com
Sat May 2 19:10:37 CEST 2009
On Mon, Mar 16, 2009 at 11:27:19AM +0100, Reimar Döffinger wrote:
> On Mon, Mar 09, 2009 at 11:35:15PM +0100, Guillaume POIRIER wrote:
> > On Mon, Mar 9, 2009 at 11:17 PM, Reimar Döffinger
> > <Reimar.Doeffinger at gmx.de> wrote:
> > > On Mon, Mar 09, 2009 at 10:33:57PM +0100, Guillaume POIRIER wrote:
> > >> On Mon, Mar 9, 2009 at 7:49 PM, Reimar Döffinger
> > >> <Reimar.Doeffinger at gmx.de> wrote:
> > >> > Hello,
> > >> > I can not test it but this patch changes ao_macosx to use
> > >> > libavutil/fifo.h like ao_sdl and ao_jack.
> > >>
> > >> This breaks at link stage, but I don't know why right now:
> > >
> > > Fixed, but oh dear, more uselessly duplicated code: the amount of data
> > > read is limited to the data in the fifo in read_buffer and in the
> > > function read_buffer, and uninit duplicates get_delay code, even though
> > > using get_delay would even make more sense semantically...
> >
> > Thanks. This code doesn't work as expected: the player hangs at the
> > first frame with this status line:
>
> Try attached patch instead.
Works fine here.
More information about the MPlayer-dev-eng
mailing list