libs: decoder: remove gst_vaapi_decoder_ref()

https://bugzilla.gnome.org/show_bug.cgi?id=796308
parent a75329ca
......@@ -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
......
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment