[FFmpeg-devel] [PATCH 1/4] URLContext: introduce a slave URLContext.

Luca Barbato lu_zero
Sat Feb 19 08:16:08 CET 2011


On 02/18/2011 10:14 PM, Nicolas George wrote:
> Le decadi 30 pluvi?se, an CCXIX, Luca Barbato a ?crit :
>> That might not work that well if our higher protocol uses many low level
>> one in a batch (e.g. rtp)
> 
> Yes, I have thought about RTP before designing this part of the code, but I
> could come with no elegant solution.
> 
> Note that this "slave" fields does not make things harder for protocols like
> RTP: apart from wasting the memory for the field, it is completely neutral.
> And it does make things easier for protocols like HTTP or RTMP.

The pointer to the subprotocol idea is interesting, probably it could be
extended to support better rtp by adding av_url_poll() to the api.

lu

-- 

Luca Barbato
Gentoo/linux
http://dev.gentoo.org/~lu_zero




More information about the ffmpeg-devel mailing list