/pidgin/main: 894eb9576159: GstPlayBin2 was renamed to GstPlayBi...
Elliott Sales de Andrade
qulogic at pidgin.im
Mon Nov 5 18:15:55 EST 2012
Changeset: 894eb95761592bf5ef151280c6c664edb2b7de9a
Author: Elliott Sales de Andrade <qulogic at pidgin.im>
Date: 2012-09-02 04:20 -0400
Branch: default
URL: http://hg.pidgin.im/pidgin/main/rev/894eb9576159
Description:
GstPlayBin2 was renamed to GstPlayBin in GStreamer-1.0.
diffstat:
finch/gntsound.c | 4 ++++
pidgin/gtksound.c | 4 ++++
2 files changed, 8 insertions(+), 0 deletions(-)
diffs (30 lines):
diff --git a/finch/gntsound.c b/finch/gntsound.c
--- a/finch/gntsound.c
+++ b/finch/gntsound.c
@@ -553,7 +553,11 @@ finch_sound_play_file(const char *filena
return;
}
+#if GST_CHECK_VERSION(0,11,0)
+ play = gst_element_factory_make("playbin", "play");
+#else
play = gst_element_factory_make("playbin2", "play");
+#endif
if (play == NULL) {
return;
diff --git a/pidgin/gtksound.c b/pidgin/gtksound.c
--- a/pidgin/gtksound.c
+++ b/pidgin/gtksound.c
@@ -527,7 +527,11 @@ pidgin_sound_play_file(const char *filen
return;
}
+#if GST_CHECK_VERSION(0,11,0)
+ play = gst_element_factory_make("playbin", "play");
+#else
play = gst_element_factory_make("playbin2", "play");
+#endif
if (play == NULL) {
return;
More information about the Commits
mailing list