libs: decoder: remove gst_vaapi_decoder_new()

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

View file

@ -586,16 +586,6 @@ gst_vaapi_decoder_init (GstVaapiDecoder * decoder)
gst_video_codec_frame_unref);
}
GstVaapiDecoder *
gst_vaapi_decoder_new (GstVaapiDisplay * display, GstCaps * caps)
{
g_return_val_if_fail (display != NULL, NULL);
g_return_val_if_fail (GST_IS_CAPS (caps), NULL);
return g_object_new (GST_TYPE_VAAPI_DECODER, "display", display,
"caps", caps, NULL);
}
/**
* gst_vaapi_decoder_ref:
* @decoder: a #GstVaapiDecoder

View file

@ -228,10 +228,6 @@ struct _GstVaapiDecoderClass
const guchar * buf, guint buf_size);
};
G_GNUC_INTERNAL
GstVaapiDecoder *
gst_vaapi_decoder_new (GstVaapiDisplay * display, GstCaps * caps);
G_GNUC_INTERNAL
void
gst_vaapi_decoder_set_picture_size (GstVaapiDecoder * decoder,