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,
* 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>
*/
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);
"AWZeiL1v7LSgX1wHDrB3NhI3k3sSnaKJAAAAAAAAQOJJS94nzV+3/3r/2Ho5ub5tHN70XSuPfdZZ"
"C/9eZOtqZc5Zfl8wP5ZenOT3hbWPpZeE6jzjkdY3f+GXCblaF41qKouT/N7UyQA=";
-GST_START_TEST (test_playbin2)
+GST_START_TEST (test_playbin)
{
GstElement *playbin, *sink;
int loops = 2;
suite_add_tcase (s, tc_chain);
- tcase_add_test (tc_chain, test_playbin2);
+ tcase_add_test (tc_chain, test_playbin);
return s;
}
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);