flvdemux: Bitrate handling and misc fixes
-
flvdemux: Answer bitrate queries from upstream
If upstream (such as queue2 in urisourcebin) asks for our bitrate, check if we have stored audio/video bitrates, and use them.
-
flvdemux: Handle empty metadata strings
g_utf8_validate() errors out on empty string. But empty strings are valid, so only check if they're not
-
flvdemux: Set ACCEPT_TEMPLATE flag on sinkpad
A demuxer can accept any caps matching its sinkpad template caps