mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
deinterlace: Define deinterlace method base classes as abstract types
This commit is contained in:
parent
600f82fbfe
commit
a626b19490
1 changed files with 4 additions and 3 deletions
|
@ -29,7 +29,8 @@
|
|||
|
||||
#include "gstdeinterlacemethod.h"
|
||||
|
||||
G_DEFINE_TYPE (GstDeinterlaceMethod, gst_deinterlace_method, GST_TYPE_OBJECT);
|
||||
G_DEFINE_ABSTRACT_TYPE (GstDeinterlaceMethod, gst_deinterlace_method,
|
||||
GST_TYPE_OBJECT);
|
||||
|
||||
gboolean
|
||||
gst_deinterlace_method_supported (GType type, GstVideoFormat format, gint width,
|
||||
|
@ -147,8 +148,8 @@ gst_deinterlace_method_get_latency (GstDeinterlaceMethod * self)
|
|||
return klass->latency;
|
||||
}
|
||||
|
||||
G_DEFINE_TYPE (GstDeinterlaceSimpleMethod, gst_deinterlace_simple_method,
|
||||
GST_TYPE_DEINTERLACE_METHOD);
|
||||
G_DEFINE_ABSTRACT_TYPE (GstDeinterlaceSimpleMethod,
|
||||
gst_deinterlace_simple_method, GST_TYPE_DEINTERLACE_METHOD);
|
||||
|
||||
static gboolean
|
||||
gst_deinterlace_simple_method_supported (GstDeinterlaceMethodClass * mklass,
|
||||
|
|
Loading…
Reference in a new issue