From: Seungha Yang Date: Sat, 3 Oct 2020 17:02:16 +0000 (+0900) Subject: h265parse: Don't enable passthrough by default X-Git-Tag: 1.19.3~507^2~1263 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=634eb1fc3866b7eee7956733477deec6e84aa94d;p=platform%2Fupstream%2Fgstreamer.git h265parse: Don't enable passthrough by default SEI messages contain various information which wouldn't be conveyed by using upstream CAPS (HDR, timecode for example). Part-of: --- diff --git a/gst/videoparsers/gsth265parse.c b/gst/videoparsers/gsth265parse.c index 09706a1..e94f86d 100644 --- a/gst/videoparsers/gsth265parse.c +++ b/gst/videoparsers/gsth265parse.c @@ -2978,7 +2978,13 @@ gst_h265_parse_set_caps (GstBaseParse * parse, GstCaps * caps) if (format == h265parse->format && align == h265parse->align) { /* do not set CAPS and passthrough mode if SPS/PPS have not been parsed */ if (h265parse->have_sps && h265parse->have_pps) { + /* Don't enable passthrough here. This element will parse various + * SEI messages which would be very important/useful for downstream + * (HDR, timecode for example) + */ +#if 0 gst_base_parse_set_passthrough (parse, TRUE); +#endif /* we did parse codec-data and might supplement src caps */ gst_h265_parse_update_src_caps (h265parse, caps);