libs: decoder: remove gst_vaapi_decoder_ref()

https://bugzilla.gnome.org/show_bug.cgi?id=796308
This commit is contained in:
Víctor Manuel Jáquez Leal 2018-05-21 11:51:14 +02:00
parent a75329ca94
commit ad5eb75187
2 changed files with 0 additions and 17 deletions

View file

@ -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

View file

@ -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);