GNOME Bugzilla – Bug 732156
h264parse: don't drop SEI buffering_period() messages
Last modified: 2014-07-01 13:28:52 UTC
It is perfectly legal to have an SEI NAL unit with a buffering_period() message inserted between an SPS and PPS NAL unit. The former check that would drop anything before a PPS is seen is too restrictive. The attached patch fixes several issues from bug #731974 when stream-format=byte-stream,alignment=au but the core issue remains and will be cured in another bug report.
Created attachment 279112 [details] [review] h264parse: don't drop SEI buffering_period() messages
Created attachment 279235 [details] [review] tests: h264parse: check SEI buffering_period() message is output If an SEI NAL unit with a buffering_period() message is inserted between an SPS and PPS NAL unit, check that the output buffer still contain it. i.e. make sure that this SEI message is not dropped.
(In reply to comment #1) > Created an attachment (id=279112) [details] [review] > h264parse: don't drop SEI buffering_period() messages This patch is obsoleted by the couple of patches from bug #732203. However, as mentioned there, I could tighten the check for very specific SEI message types, but I don't think the standard requires this restriction?
So let's mark this as a duplicate of bug #732203 ?
OK with me. :) *** This bug has been marked as a duplicate of bug 732203 ***