diff --git a/gst/playback/gsturidecodebin.c b/gst/playback/gsturidecodebin.c index 582c7119a0..b38031e257 100644 --- a/gst/playback/gsturidecodebin.c +++ b/gst/playback/gsturidecodebin.c @@ -1226,7 +1226,8 @@ gen_source_element (GstURIDecodeBin * decoder) if (IS_BLACKLISTED_URI (decoder->uri)) goto uri_blacklisted; - source = gst_element_make_from_uri (GST_URI_SRC, decoder->uri, "source"); + source = + gst_element_make_from_uri (GST_URI_SRC, decoder->uri, "source", NULL); if (!source) goto no_source; diff --git a/tests/examples/encoding/encoding.c b/tests/examples/encoding/encoding.c index 7c01a085a7..bbe5d4fcff 100644 --- a/tests/examples/encoding/encoding.c +++ b/tests/examples/encoding/encoding.c @@ -289,7 +289,7 @@ transcode_file (gchar * uri, gchar * outputuri, GstEncodingProfile * prof) g_print (" Input URI : %s\n", uri); g_print (" Output URI : %s\n", outputuri); - sink = gst_element_make_from_uri (GST_URI_SINK, outputuri, "sink"); + sink = gst_element_make_from_uri (GST_URI_SINK, outputuri, "sink", NULL); if (G_UNLIKELY (sink == NULL)) { g_print ("Can't create output sink, most likely invalid output URI !\n"); return;