mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-22 22:16:22 +00:00
vaapiencode: make GstVaapiEncode an abstract type.
Make base GstVaapiEncode class an abstract type so that we cannot create an instance from it without going through any of the codec specific derived class.
This commit is contained in:
parent
85ce893faa
commit
37fa6a8a3d
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@
|
|||
GST_DEBUG_CATEGORY_STATIC (gst_vaapiencode_debug);
|
||||
#define GST_CAT_DEFAULT gst_vaapiencode_debug
|
||||
|
||||
G_DEFINE_TYPE_WITH_CODE (GstVaapiEncode,
|
||||
G_DEFINE_ABSTRACT_TYPE_WITH_CODE (GstVaapiEncode,
|
||||
gst_vaapiencode, GST_TYPE_VIDEO_ENCODER,
|
||||
GST_VAAPI_PLUGIN_BASE_INIT_INTERFACES);
|
||||
|
||||
|
|
Loading…
Reference in a new issue