/pidgin/main: 0cd6239fcec9: Use GstPlayBin2 instead of GstPlayBin.

Elliott Sales de Andrade qulogic at pidgin.im
Sat Sep 8 19:20:47 EDT 2012


Changeset: 0cd6239fcec99f76ac7923f8b2a5c623ddd1d6dc
Author:	 Elliott Sales de Andrade <qulogic at pidgin.im>
Date:	 2012-09-02 01:04 -0400
Branch:	 default
URL: http://hg.pidgin.im/pidgin/main/rev/0cd6239fcec9

Description:

Use GstPlayBin2 instead of GstPlayBin.

GstPlayBin is deprecated, and we barely use any of the API, so
this is a pretty simple change.

diffstat:

 finch/gntsound.c  |  2 +-
 pidgin/gtksound.c |  2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diffs (24 lines):

diff --git a/finch/gntsound.c b/finch/gntsound.c
--- a/finch/gntsound.c
+++ b/finch/gntsound.c
@@ -553,7 +553,7 @@ finch_sound_play_file(const char *filena
 		return;
 	}
 
-	play = gst_element_factory_make("playbin", "play");
+	play = gst_element_factory_make("playbin2", "play");
 
 	if (play == NULL) {
 		return;
diff --git a/pidgin/gtksound.c b/pidgin/gtksound.c
--- a/pidgin/gtksound.c
+++ b/pidgin/gtksound.c
@@ -530,7 +530,7 @@ pidgin_sound_play_file(const char *filen
 		return;
 	}
 
-	play = gst_element_factory_make("playbin", "play");
+	play = gst_element_factory_make("playbin2", "play");
 
 	if (play == NULL) {
 		return;



More information about the Commits mailing list