[Bug 796863] vaapih264dec: H264 parse stops if missing an SPS/PPS

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Jul 25 18:00:39 UTC 2018


https://bugzilla.gnome.org/show_bug.cgi?id=796863

--- Comment #15 from Nicolas Dufresne (ndufresne) <nicolas at ndufresne.ca> ---
Created attachment 373162
  --> https://bugzilla.gnome.org/attachment.cgi?id=373162&action=edit
WIP: vaapidecode: Skip unparsable units from adapter

If the unit could not be parsed, just skip this nal and keep parsing
what is left in the adapter. We need to flush the broken unit in the
decoder specific parser because the generic code does not know about
units boundary. This increases error resilliance.

Before this, the broken unit would stay in the adapter and EOS would be
returned. Which stopped the streaming. Just removing the EOS would have
lead to the adapter size growing indefinitely.

-- 
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