[Bug 732203] h264parse: improve handling of byte-stream/au format
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Thu Jun 26 00:51:21 PDT 2014
https://bugzilla.gnome.org/show_bug.cgi?id=732203
GStreamer | gst-plugins-bad | git
--- Comment #9 from Gwenole Beauchesne <gb.devel at gmail.com> 2014-06-26 07:51:15 UTC ---
Created an attachment (id=279297)
View: https://bugzilla.gnome.org/attachment.cgi?id=279297
Review: https://bugzilla.gnome.org/review?bug=732203&attachment=279297
h264parse: fix collection of access units to preserve config headers
Always use a GstAdapter when collecting access units (alignment="au") in either
byte-stream or avcC format. This is required to properly preserve config
headers like SPS and PPS when invalid or broken NAL units are subsequently
parsed.
More precisely, this fixes scenario like: [ <SPS> <PPS> <invalid-NAL> <slice> ]
where we used to reset the output frame buffer when an invalid or broken NAL is
parsed, i.e. SPS and PPS NAL units were lost, thus preventing the next slice
unit to be decoded, should this also represent any valid data.
This addresses comment #8
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list