From 32b5384e4b90c7772ce5912b165d0b0309e6adcd Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Fri, 28 Oct 2011 15:16:43 +0200 Subject: [PATCH] make elements compile again --- plugins/elements/gstdataurisrc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/elements/gstdataurisrc.c b/plugins/elements/gstdataurisrc.c index ef9e328..c4be942 100644 --- a/plugins/elements/gstdataurisrc.c +++ b/plugins/elements/gstdataurisrc.c @@ -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); 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_caps_unref (caps); -- 2.7.4