[FFmpeg-devel] [PATCH] RTSP-MS 14/15: ASF packet parsing
Luca Abeni
lucabe72
Wed Apr 22 09:34:33 CEST 2009
Hi Michael,
Michael Niedermayer wrote:
[...]
> I belive it would be very difficult for the rtp code to know without
> interaction from the asf demuxer how much data it might want.
>
> There seem 2 variants and i belive both should be implemented because
> they are both usefull in different circumstances.
>
> The first is that the rtp code should provide a fully functional
> ByteIOContext, not one that has a EOF before the end of the file.
> That means it must provide a read_packet() callback.
> Such callback would of course block until the data has been received.
Sorry for stepping in this discussion, but I see you are talking about
RTP... ;-)
I am probably going to say something very stupid (or something that has
already been considered; I did not follow this whole thread), but...
Why cannot read_packet() return EAGAIN?
I mean, to me this situation looks very similar to reading an ASF file
from a pipe opened in non-blocking mode... How does ffmpeg handle this
situation?
Luca
More information about the ffmpeg-devel
mailing list