uridecodebin, tests: update for gst_element_make_from_uri() changes
authorTim-Philipp Müller <tim@centricular.net>
Sat, 23 Jun 2012 13:55:31 +0000 (14:55 +0100)
committerTim-Philipp Müller <tim@centricular.net>
Sat, 23 Jun 2012 13:55:31 +0000 (14:55 +0100)
gst/playback/gsturidecodebin.c
tests/examples/encoding/encoding.c

index 582c711..b38031e 100644 (file)
@@ -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;
 
index 7c01a08..bbe5d4f 100644 (file)
@@ -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;