summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2018-10-04 13:38:59 +0300
committerSebastian Dröge <sebastian@centricular.com>2018-10-04 13:38:59 +0300
commitee98f056b1d0a22f3cdce14a106ea25e4ea0d4e8 (patch)
treec2b9a4ca6a63f21fb7da12a7a8e49e623645fb98
parent62197270ddfd577bee738027df98cdc87e449a3e (diff)
downloadgst-plugins-base-ee98f056b1d0a22f3cdce14a106ea25e4ea0d4e8.tar.gz
gst-plugins-base-ee98f056b1d0a22f3cdce14a106ea25e4ea0d4e8.tar.xz
glviewconvert: Add backwards compatibility gst_gl_stereo_downmix_mode_get_type()
It's proper new name is gst_gl_stereo_downmix_get_type().
-rw-r--r--gst-libs/gst/gl/gstglviewconvert.c12
-rw-r--r--gst-libs/gst/gl/gstglviewconvert.h3
2 files changed, 15 insertions, 0 deletions
diff --git a/gst-libs/gst/gl/gstglviewconvert.c b/gst-libs/gst/gl/gstglviewconvert.c
index 0bc288068..f057ce1ee 100644
--- a/gst-libs/gst/gl/gstglviewconvert.c
+++ b/gst-libs/gst/gl/gstglviewconvert.c
@@ -2393,3 +2393,15 @@ done:
*outbuf_ptr = outbuf;
return ret;
}
+
+#ifndef GST_REMOVE_DEPRECATED
+#ifdef GST_DISABLE_DEPRECATED
+GST_GL_API GType gst_gl_stereo_downmix_mode_get_type (void);
+#endif
+
+GType
+gst_gl_stereo_downmix_mode_get_type (void)
+{
+ return gst_gl_stereo_downmix_get_type ();
+}
+#endif
diff --git a/gst-libs/gst/gl/gstglviewconvert.h b/gst-libs/gst/gl/gstglviewconvert.h
index 71a7ef908..d4fd52687 100644
--- a/gst-libs/gst/gl/gstglviewconvert.h
+++ b/gst-libs/gst/gl/gstglviewconvert.h
@@ -51,6 +51,9 @@ typedef enum {
#ifndef GST_DISABLE_DEPRECATED
#define GST_TYPE_GL_STEREO_DOWNMIX_MODE_TYPE GST_TYPE_GL_STEREO_DOWNMIX
+
+GST_GL_API
+GType gst_gl_stereo_downmix_mode_get_type (void);
#endif
/**