mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
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: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1639>
This commit is contained in:
parent
94e1623434
commit
634eb1fc38
1 changed files with 6 additions and 0 deletions
|
@ -2978,7 +2978,13 @@ gst_h265_parse_set_caps (GstBaseParse * parse, GstCaps * caps)
|
||||||
if (format == h265parse->format && align == h265parse->align) {
|
if (format == h265parse->format && align == h265parse->align) {
|
||||||
/* do not set CAPS and passthrough mode if SPS/PPS have not been parsed */
|
/* do not set CAPS and passthrough mode if SPS/PPS have not been parsed */
|
||||||
if (h265parse->have_sps && h265parse->have_pps) {
|
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);
|
gst_base_parse_set_passthrough (parse, TRUE);
|
||||||
|
#endif
|
||||||
|
|
||||||
/* we did parse codec-data and might supplement src caps */
|
/* we did parse codec-data and might supplement src caps */
|
||||||
gst_h265_parse_update_src_caps (h265parse, caps);
|
gst_h265_parse_update_src_caps (h265parse, caps);
|
||||||
|
|
Loading…
Reference in a new issue