/pidgin/main: 387a2fc8af0e: media: Fix gstreamer 0.10 compat (gs...
dx
dx at dxzone.com.ar
Sun Jun 19 00:11:25 EDT 2016
Changeset: 387a2fc8af0e24d51b59e10af2cf8dceed6dc08e
Author: dx <dx at dxzone.com.ar>
Date: 2016-06-19 01:08 -0300
Branch: release-2.x.y
URL: https://hg.pidgin.im/pidgin/main/rev/387a2fc8af0e
Description:
media: Fix gstreamer 0.10 compat (gst_registry_get() is missing there)
So this replaces it with gst_registry_get_default()
diffstat:
libpurple/media/backend-fs2.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diffs (14 lines):
diff --git a/libpurple/media/backend-fs2.c b/libpurple/media/backend-fs2.c
--- a/libpurple/media/backend-fs2.c
+++ b/libpurple/media/backend-fs2.c
@@ -44,6 +44,10 @@
#include <gst/gststructure.h>
#endif
+#if !GST_CHECK_VERSION(1,0,0)
+#define gst_registry_get() gst_registry_get_default()
+#endif
+
/** @copydoc _PurpleMediaBackendFs2Class */
typedef struct _PurpleMediaBackendFs2Class PurpleMediaBackendFs2Class;
/** @copydoc _PurpleMediaBackendFs2Private */
More information about the Commits
mailing list