From 43e4b44bb1b6e1391eab8e29137a49b47400a145 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim-Philipp=20M=C3=BCller?= Date: Sat, 23 Jun 2012 14:55:31 +0100 Subject: [PATCH] uridecodebin, tests: update for gst_element_make_from_uri() changes --- gst/playback/gsturidecodebin.c | 3 ++- tests/examples/encoding/encoding.c | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/gst/playback/gsturidecodebin.c b/gst/playback/gsturidecodebin.c index 582c711..b38031e 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 7c01a08..bbe5d4f 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; -- 2.7.4