mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-08 16:35:40 +00:00
h264parse: Wait for SEI before exposing src caps
This makes sure 'lcevc=false' src caps are not set before parsing SEI. It is needed for decodebin2 to work properly with the LCEVC decoder. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7330>
This commit is contained in:
parent
8055b0386f
commit
9accf21e53
1 changed files with 1 additions and 4 deletions
|
@ -3674,10 +3674,7 @@ gst_h264_parse_set_caps (GstBaseParse * parse, GstCaps * caps)
|
|||
gst_caps_unref (in_caps);
|
||||
}
|
||||
|
||||
if (format == h264parse->format && align == h264parse->align) {
|
||||
/* we did parse codec-data and might supplement src caps */
|
||||
gst_h264_parse_update_src_caps (h264parse, caps);
|
||||
} else if (format == GST_H264_PARSE_FORMAT_AVC
|
||||
if (format == GST_H264_PARSE_FORMAT_AVC
|
||||
|| format == GST_H264_PARSE_FORMAT_AVC3) {
|
||||
/* if input != output, and input is avc, must split before anything else */
|
||||
/* arrange to insert codec-data in-stream if needed.
|
||||
|
|
Loading…
Reference in a new issue