replace some playbin2 -> playbin
authorWim Taymans <wim.taymans@collabora.co.uk>
Wed, 10 Oct 2012 12:11:43 +0000 (14:11 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Wed, 10 Oct 2012 12:14:43 +0000 (14:14 +0200)
ext/apexsink/gstapexsink.c
gst/debugutils/fpsdisplaysink.c
gst/inter/gstintertest.c
tests/check/elements/dataurisrc.c
tools/gst-app-maker

index 25dfb08..526f010 100644 (file)
@@ -305,7 +305,7 @@ gst_apexsink_class_init (GstApExSinkClass * klass)
       g_param_spec_uint ("port", "Port", "AirPort Express target port", 0,
           32000, DEFAULT_APEX_PORT,
           G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
-  /* we need to expose the volume as a double for playbin2. Internally we keep
+  /* we need to expose the volume as a double for playbin. Internally we keep
    * it as an int between 0 and 100, where 75 corresponds to 1.0.
    * FIXME we should store the volume as a double. */
   g_object_class_install_property ((GObjectClass *) klass, APEX_PROP_VOLUME,
index 79c6f80..d3b009a 100644 (file)
@@ -28,7 +28,7 @@
  * gst-launch videotestsrc ! fpsdisplaysink
  * gst-launch videotestsrc ! fpsdisplaysink text-overlay=false
  * gst-launch filesrc location=video.avi ! decodebin2 name=d ! queue ! fpsdisplaysink d. ! queue ! fakesink sync=true
- * gst-launch playbin2 uri=file:///path/to/video.avi video-sink="fpsdisplaysink" audio-sink=fakesink
+ * gst-launch playbin uri=file:///path/to/video.avi video-sink="fpsdisplaysink" audio-sink=fakesink
  * ]|
  * </refsect2>
  */
index 077024e..8b22477 100644 (file)
@@ -157,7 +157,7 @@ gst_inter_test_create_pipeline_playbin (GstInterTest * intertest,
 
   pipeline = gst_pipeline_new (NULL);
   gst_bin_add (GST_BIN (pipeline),
-      gst_element_factory_make ("playbin2", "source"));
+      gst_element_factory_make ("playbin", "source"));
 
   if (error) {
     g_print ("pipeline parsing error: %s\n", error->message);
index 49c9bdb..da80599 100644 (file)
@@ -169,7 +169,7 @@ const gchar data_uri[] = "data:audio/ogg;base64,"
     "AWZeiL1v7LSgX1wHDrB3NhI3k3sSnaKJAAAAAAAAQOJJS94nzV+3/3r/2Ho5ub5tHN70XSuPfdZZ"
     "C/9eZOtqZc5Zfl8wP5ZenOT3hbWPpZeE6jzjkdY3f+GXCblaF41qKouT/N7UyQA=";
 
-GST_START_TEST (test_playbin2)
+GST_START_TEST (test_playbin)
 {
   GstElement *playbin, *sink;
   int loops = 2;
@@ -225,7 +225,7 @@ dataurisrc_suite (void)
 
   suite_add_tcase (s, tc_chain);
 
-  tcase_add_test (tc_chain, test_playbin2);
+  tcase_add_test (tc_chain, test_playbin);
 
   return s;
 }
index f909442..d8f2f43 100755 (executable)
@@ -220,7 +220,7 @@ gst_replace_create_pipeline_playbin (GstReplace *replace, const char *uri)
   
   pipeline = gst_pipeline_new (NULL);
   gst_bin_add (GST_BIN(pipeline),
-      gst_element_factory_make ("playbin2", "source"));
+      gst_element_factory_make ("playbin", "source"));
 
   if (error) {
     g_print("pipeline parsing error: %s\n", error->message);