diff options
-rw-r--r-- | tests/insanity-test-gst-play.c | 5 | ||||
-rw-r--r-- | tests/insanity-test-gst-seek.c | 4 |
2 files changed, 5 insertions, 4 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); diff --git a/tests/insanity-test-gst-seek.c b/tests/insanity-test-gst-seek.c index 66df16b..9774d3b 100644 --- a/tests/insanity-test-gst-seek.c +++ b/tests/insanity-test-gst-seek.c @@ -164,7 +164,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); @@ -444,7 +444,7 @@ seek_test_create_pipeline (InsanityGstPipelineTest * ptest, gpointer userdata) 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) { |