diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2018-10-04 13:38:59 +0300 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2018-10-04 13:38:59 +0300 |
commit | ee98f056b1d0a22f3cdce14a106ea25e4ea0d4e8 (patch) | |
tree | c2b9a4ca6a63f21fb7da12a7a8e49e623645fb98 | |
parent | 62197270ddfd577bee738027df98cdc87e449a3e (diff) | |
download | gst-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.c | 12 | ||||
-rw-r--r-- | gst-libs/gst/gl/gstglviewconvert.h | 3 |
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 /** |