[MPlayer-dev-eng] [PATCH] Radio support for MPlayer
Reimar Doeffinger
Reimar.Doeffinger at stud.uni-karlsruhe.de
Fri Jul 14 10:43:09 CEST 2006
Hello,
On Fri, Jul 14, 2006 at 01:48:35PM +0700, Vladimir Voroshilov wrote:
> Reimar Döffinger пишет:
> >I was mostly saying this because I think (and a closer look at
> >demux_rawaudio seems to confirm) that this is where your problem lies.
> >If you return data for less than one second of audio demux_rawaudio will
> >accept that happily and return for more much earlier.
> >
> >
> Please, can you point me on a peace of code where demux_rawaudio decides
> to stop filling it's one second buffer even it not full?
> I have tryed to find something like this in demux_rawaudio.c, stream.c,
> stream.h,cache2.c but could find nothing.
in demux_rawaudio_fill_buffer:
l = stream_read(demuxer->stream,dp->buffer,l);
resize_demux_packet(dp, l);
ds_add_packet(ds,dp);
If stream_read returns less than the requested amount of bytes,
demux_rawaudio will accept that. I did not check if stream_read ever
does that though, but the problem is not really in demux_rawaudio IMHO...
Greetings,
Reimar Doeffinger
More information about the MPlayer-dev-eng
mailing list