From ad5eb75187f487bc691010933aa3e29849805b62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Manuel=20J=C3=A1quez=20Leal?= Date: Mon, 21 May 2018 11:51:14 +0200 Subject: [PATCH] libs: decoder: remove gst_vaapi_decoder_ref() https://bugzilla.gnome.org/show_bug.cgi?id=796308 --- gst-libs/gst/vaapi/gstvaapidecoder.c | 14 -------------- gst-libs/gst/vaapi/gstvaapidecoder.h | 3 --- 2 files changed, 17 deletions(-) diff --git a/gst-libs/gst/vaapi/gstvaapidecoder.c b/gst-libs/gst/vaapi/gstvaapidecoder.c index adf2a04e1c..12124b8974 100644 --- a/gst-libs/gst/vaapi/gstvaapidecoder.c +++ b/gst-libs/gst/vaapi/gstvaapidecoder.c @@ -586,20 +586,6 @@ gst_vaapi_decoder_init (GstVaapiDecoder * decoder) gst_video_codec_frame_unref); } -/** - * gst_vaapi_decoder_ref: - * @decoder: a #GstVaapiDecoder - * - * Atomically increases the reference count of the given @decoder by one. - * - * Returns: The same @decoder argument - */ -GstVaapiDecoder * -gst_vaapi_decoder_ref (GstVaapiDecoder * decoder) -{ - return gst_object_ref (decoder); -} - /** * gst_vaapi_decoder_unref: * @decoder: a #GstVaapiDecoder diff --git a/gst-libs/gst/vaapi/gstvaapidecoder.h b/gst-libs/gst/vaapi/gstvaapidecoder.h index e0a6059d07..acb26493ed 100644 --- a/gst-libs/gst/vaapi/gstvaapidecoder.h +++ b/gst-libs/gst/vaapi/gstvaapidecoder.h @@ -80,9 +80,6 @@ typedef enum { GType gst_vaapi_decoder_get_type (void) G_GNUC_CONST; -GstVaapiDecoder * -gst_vaapi_decoder_ref (GstVaapiDecoder * decoder); - void gst_vaapi_decoder_unref (GstVaapiDecoder * decoder);