Parse the bitrate field in the ASMRuleBook ("AverageBandwidth") to fill in
authorRonald S. Bultje <rsbultje@gmail.com>
Wed, 7 Jan 2009 14:41:40 +0000 (14:41 +0000)
committerRonald S. Bultje <rsbultje@gmail.com>
Wed, 7 Jan 2009 14:41:40 +0000 (14:41 +0000)
commit530bca94390adb946f21c767f5eafda522c826b1
treea302638e2dd5d515c14b7b25f18ab0527c16526a
parent3ca45429fea4edb64daf3e6dd11e40ee23bc484b
Parse the bitrate field in the ASMRuleBook ("AverageBandwidth") to fill in
the AVStream->AVCodecContext->bit_rate field, which is not in the MDPR block
(the "OpaqueData" SDP field). This allows clients to choose streams based
on their bitrate, which is what most network-players base stream selection
on. (Of course, it is also possible to select based on anything else, that
is entirely up to the client.) See "[PATCH] rdt.c: ASM rulebook bitrate
reading" thread on mailinglist.

Originally committed as revision 16467 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/rdt.c