GNOME Bugzilla – Bug 744860
H264 parser does not convert codec data to byte stream when input is avc and output is byte stream
Last modified: 2015-02-20 15:56:17 UTC
Created attachment 297409 [details] [review] 0001-h264parse-Copy-codec-data-for-byte-stream-format.patch Codec specific data for avc format is not being passed down to the decoder when the output format is byte-stream. It can happen that there is codec data even for byte-stream if input for the parser is avc but the only accepted format by the decoder is byte-stream. In that case, this patch translates the codec data to byte-stream as we do with the other nals.
In byte-stream, there should be codec data in the stream, not in the caps. What problem are you trying to solve ?
As discussed on IRC, codec_data in caps make no sense for byte-stream.