mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 17:20:36 +00:00
make elements compile again
This commit is contained in:
parent
d667f1a36f
commit
32b5384e4b
1 changed files with 1 additions and 1 deletions
|
@ -389,7 +389,7 @@ gst_data_uri_src_set_uri (GstURIHandler * handler, const gchar * uri)
|
||||||
|
|
||||||
caps = gst_type_find_helper_for_buffer (GST_OBJECT (src), buffer, NULL);
|
caps = gst_type_find_helper_for_buffer (GST_OBJECT (src), buffer, NULL);
|
||||||
if (!caps)
|
if (!caps)
|
||||||
caps = gst_caps_new_simple (mimetype, NULL);
|
caps = gst_caps_new_empty_simple (mimetype);
|
||||||
gst_base_src_set_caps (GST_BASE_SRC_CAST (src), caps);
|
gst_base_src_set_caps (GST_BASE_SRC_CAST (src), caps);
|
||||||
gst_caps_unref (caps);
|
gst_caps_unref (caps);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue