libs: encoder: delete useless gst_vaapi_encoder_new func.

GstVaapiEncoder is a abstract gobject and never be created directly.
This commit is contained in:
He Junyan 2019-08-29 14:38:49 +08:00
parent c4a47f91ba
commit 6978eae21a
2 changed files with 0 additions and 13 deletions

View file

@ -1621,14 +1621,6 @@ gst_vaapi_encoder_finalize (GObject * object)
G_OBJECT_CLASS (gst_vaapi_encoder_parent_class)->finalize (object);
}
/* Helper function to create new GstVaapiEncoder instances (internal) */
GstVaapiEncoder *
gst_vaapi_encoder_new (const GstVaapiEncoderClass * klass,
GstVaapiDisplay * display)
{
return NULL;
}
static void
encoder_set_property (GObject * object, guint prop_id,
const GValue * value, GParamSpec * pspec)

View file

@ -391,11 +391,6 @@ struct _GstVaapiEncoderClass
GST_VAAPI_ENCODER_CLASS_HOOK (codec, encode), \
GST_VAAPI_ENCODER_CLASS_HOOK (codec, flush)
G_GNUC_INTERNAL
GstVaapiEncoder *
gst_vaapi_encoder_new (const GstVaapiEncoderClass * klass,
GstVaapiDisplay * display);
G_GNUC_INTERNAL
GstVaapiSurfaceProxy *
gst_vaapi_encoder_create_surface (GstVaapiEncoder *