[Bug 732266] vaapidecode: h264: add support for decoding SVC base layers only
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Mon Aug 28 20:59:19 UTC 2017
https://bugzilla.gnome.org/show_bug.cgi?id=732266
--- Comment #66 from sreerenj <bsreerenj at gmail.com> ---
The problem here is that you set the nal units for SKIP, but returned from the
parse function without parsing and eventually with out setting the flags
(FRAME_START, FRAME_END etc). As a result, all of these non-annex-a nal units
get accumulated as pre_units of the GstVaapiParserFrame. Ideally, pre_units
shouldn't have the slice nals. But here we store the SLCE_EXT slice nal also in
preunits (even though it is set for skip).
Then later when ParserFrame gets unreferenced, it tries to invoke the
sps_clear() and pps_clear() assuming that the data has been parsed and stored
already.
That could be the reason you get the segfault in subset_sps handling. You may
have the similar issue with pps_clear too since parse_pps just returns success
for GST_H264_PARSER_BROKEN_LINK.
--
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