diff options
author | Vineeth TM <vineeth.tm@samsung.com> | 2015-07-30 08:58:48 +0900 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2015-07-30 15:10:05 +0100 |
commit | 09992f32dc95be6087fb304d5b577e86f062e5b0 (patch) | |
tree | 2fddb22400a837105af012abc56c25da888d54e4 /gst | |
parent | 8f7a84a9a16514ed033b30e62476b0fc0fe345b6 (diff) | |
download | gstreamer-plugins-bad-09992f32dc95be6087fb304d5b577e86f062e5b0.tar.gz |
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
Diffstat (limited to 'gst')
-rw-r--r-- | gst/videoparsers/gsth265parse.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gst/videoparsers/gsth265parse.c b/gst/videoparsers/gsth265parse.c index 896b7e8d4..983ffec1d 100644 --- a/gst/videoparsers/gsth265parse.c +++ b/gst/videoparsers/gsth265parse.c @@ -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 */ |