GNOME Bugzilla – Bug 731783
h265parse: incorrect value used to check size of hvcC data
Last modified: 2014-06-28 08:30:09 UTC
Created attachment 278601 [details] [review] Fix value used in hvcC size check In ISO/IEC 14496-15, the minimum size of a HEVCDecoderConfigurationRecord (i.e., the contents of a hvcC box) is 23 bytes. However, the code in h265parse checks that the size of this data is not less than 28 bytes, and it refuses to accept caps if the check fails. The result is that standards-conformant streams that don't carry any parameter sets in their hvcC boxes won't play. The attached patch fixes this check and also the error message that is output if the check fails.
Thanks for the patch, pushed: commit d9d4a91c62b8e2f021e5e8039bb1368f825b8d62 Author: Chris Bass <floobleflam@gmail.com> Date: Tue Jun 17 14:23:43 2014 +0100 h265parse: fix hvcC size check In ISO/IEC 14496-15, the minimum size of a HEVCDecoderConfigurationRecord (i.e., the contents of a hvcC box) is 23 bytes. However, the code in h265parse checks that the size of this data is not less than 28 bytes, and it refuses to accept caps if the check fails. The result is that standards-conformant streams that don't carry any parameter sets in their hvcC boxes won't play. https://bugzilla.gnome.org//show_bug.cgi?id=731783