mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-20 21:16:24 +00:00
libs: encoder: delete useless gst_vaapi_encoder_new func.
GstVaapiEncoder is a abstract gobject and never be created directly.
This commit is contained in:
parent
c4a47f91ba
commit
6978eae21a
2 changed files with 0 additions and 13 deletions
|
@ -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)
|
||||
|
|
|
@ -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 *
|
||||
|
|
Loading…
Reference in a new issue