From 8effe1e5bae06ac1224309bff8fda856bb34e6a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Wed, 13 Oct 2010 12:55:31 +0100 Subject: [PATCH] playbin2: declare stable, deprecate the old playbin https://bugzilla.gnome.org/show_bug.cgi?id=624949 --- gst/playback/gstplaybin.c | 7 +++++++ gst/playback/gstplaybin2.c | 7 +++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/gst/playback/gstplaybin.c b/gst/playback/gstplaybin.c index eb1c823098..57b5dbe1f8 100644 --- a/gst/playback/gstplaybin.c +++ b/gst/playback/gstplaybin.c @@ -23,6 +23,11 @@ * Playbin provides a stand-alone everything-in-one abstraction for an * audio and/or video player. * + * + * This element is deprecated and no longer supported. You should use + * the #playbin2 element instead. + * + * * It can handle both audio and video files and features * * @@ -217,6 +222,8 @@ * ]| This will play back title 1 of a DVD in your disc drive (assuming * the drive is detected automatically by the plugin). * + * + * Deprecated: use playbin2 instead */ #ifdef HAVE_CONFIG_H diff --git a/gst/playback/gstplaybin2.c b/gst/playback/gstplaybin2.c index 0b764d554c..12d72eb19d 100644 --- a/gst/playback/gstplaybin2.c +++ b/gst/playback/gstplaybin2.c @@ -23,9 +23,8 @@ * Playbin2 provides a stand-alone everything-in-one abstraction for an * audio and/or video player. * - * At this stage, playbin2 is considered UNSTABLE. The API provided in the - * signals and properties may yet change in the near future. When playbin2 - * is stable, it will probably replace #playbin + * playbin2 is considered stable now. It is the prefered playback API now, + * and replaces the old #playbin element, which is no longer supported. * * It can handle both audio and video files and features * @@ -60,7 +59,7 @@ * * Usage * - * A playbin element can be created just like any other element using + * A playbin2 element can be created just like any other element using * gst_element_factory_make(). The file/URI to play should be set via the #GstPlayBin2:uri * property. This must be an absolute URI, relative file paths are not allowed. * Example URIs are file:///home/joe/movie.avi or http://www.joedoe.com/foo.ogg