From ee98f056b1d0a22f3cdce14a106ea25e4ea0d4e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Thu, 4 Oct 2018 13:38:59 +0300 Subject: [PATCH] glviewconvert: Add backwards compatibility gst_gl_stereo_downmix_mode_get_type() It's proper new name is gst_gl_stereo_downmix_get_type(). --- gst-libs/gst/gl/gstglviewconvert.c | 12 ++++++++++++ gst-libs/gst/gl/gstglviewconvert.h | 3 +++ 2 files changed, 15 insertions(+) diff --git a/gst-libs/gst/gl/gstglviewconvert.c b/gst-libs/gst/gl/gstglviewconvert.c index 0bc2880680..f057ce1ee0 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 71a7ef908e..d4fd526872 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 /**