Commit a626b194 authored by Sebastian Dröge's avatar Sebastian Dröge
Browse files

deinterlace: Define deinterlace method base classes as abstract types

parent 600f82fb
......@@ -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,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment