mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
h264parse: extract structure from correct caps
... which are known != NULL.
This commit is contained in:
parent
821c8519e0
commit
58441bf262
1 changed files with 1 additions and 1 deletions
|
@ -1121,7 +1121,7 @@ gst_h264_parse_update_src_caps (GstH264Parse * h264parse, GstCaps * caps)
|
|||
if (!sink_caps)
|
||||
sink_caps = gst_caps_new_empty_simple ("video/x-h264");
|
||||
else
|
||||
s = gst_caps_get_structure (caps, 0);
|
||||
s = gst_caps_get_structure (sink_caps, 0);
|
||||
|
||||
sps = h264parse->nalparser->last_sps;
|
||||
GST_DEBUG_OBJECT (h264parse, "sps: %p", sps);
|
||||
|
|
Loading…
Reference in a new issue