mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 10:41:04 +00:00
uridecodebin, tests: update for gst_element_make_from_uri() changes
This commit is contained in:
parent
df63268e5a
commit
43e4b44bb1
2 changed files with 3 additions and 2 deletions
|
@ -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;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue