mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-17 22:06:41 +00:00
h265parse: Avoid checking for Non Mandatory VPS NAL
VPS is not mandatory, and need not check for its presence before setting the caps. Because of the check, in streams which don't have VPS, sticky event mishandling happens. https://bugzilla.gnome.org/show_bug.cgi?id=752807
This commit is contained in:
parent
8f7a84a9a1
commit
09992f32dc
1 changed files with 2 additions and 2 deletions
|
@ -1945,8 +1945,8 @@ gst_h265_parse_set_caps (GstBaseParse * parse, GstCaps * caps)
|
|||
}
|
||||
|
||||
if (format == h265parse->format && align == h265parse->align) {
|
||||
/* do not set CAPS and passthrough mode if VPS/SPS/PPS have not been parsed */
|
||||
if (h265parse->have_vps && h265parse->have_sps && h265parse->have_pps) {
|
||||
/* do not set CAPS and passthrough mode if SPS/PPS have not been parsed */
|
||||
if (h265parse->have_sps && h265parse->have_pps) {
|
||||
gst_base_parse_set_passthrough (parse, TRUE);
|
||||
|
||||
/* we did parse codec-data and might supplement src caps */
|
||||
|
|
Loading…
Reference in a new issue