diff options
Diffstat (limited to 'tests/insanity-test-gst-play.c')
-rw-r--r-- | tests/insanity-test-gst-play.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/insanity-test-gst-play.c b/tests/insanity-test-gst-play.c index a9e4a45..c3727b7 100644 --- a/tests/insanity-test-gst-play.c +++ b/tests/insanity-test-gst-play.c @@ -48,7 +48,7 @@ found_source (GstElement * playbin, GstElement * appsrc, gpointer ptest) const gchar *pluginname; GstElementFactory *factory; - g_object_get (global_pipeline, "uri", &uri, NULL); + g_object_get (global_pipeline, "current-uri", &uri, NULL); if (!g_str_has_prefix (uri, "appsrc")) { g_free (uri); @@ -89,7 +89,7 @@ play_gst_test_create_pipeline (InsanityGstPipelineTest * ptest, insanity_test_get_boolean_argument (INSANITY_TEST (ptest), "progressive-download", &progressive_download); - playbin = gst_element_factory_make ("playbin2", "playbin2"); + playbin = gst_element_factory_make ("playbin", "playbin"); global_pipeline = playbin; if (appsink) { @@ -235,6 +235,7 @@ main (int argc, char **argv) g_value_init (&vdef, G_TYPE_BOOLEAN); g_value_set_boolean (&vdef, FALSE); + insanity_test_add_argument (test, "progressive-download", "Enable progressive download mode", NULL, TRUE, &vdef); g_value_unset (&vdef); |