deinterlace: initialize all deinterlace class members

This fixes UYVY deinterlacing.
This commit is contained in:
David Schleef 2010-09-05 22:19:56 -07:00
parent b016d92774
commit 9071cc8748

View file

@ -753,6 +753,8 @@ gst_deinterlace_simple_method_class_init (GstDeinterlaceSimpleMethodClass
gst_deinterlace_simple_method_deinterlace_frame_packed; gst_deinterlace_simple_method_deinterlace_frame_packed;
dm_class->deinterlace_frame_yvyu = dm_class->deinterlace_frame_yvyu =
gst_deinterlace_simple_method_deinterlace_frame_packed; gst_deinterlace_simple_method_deinterlace_frame_packed;
dm_class->deinterlace_frame_uyvy =
gst_deinterlace_simple_method_deinterlace_frame_packed;
dm_class->deinterlace_frame_argb = dm_class->deinterlace_frame_argb =
gst_deinterlace_simple_method_deinterlace_frame_packed; gst_deinterlace_simple_method_deinterlace_frame_packed;
dm_class->deinterlace_frame_abgr = dm_class->deinterlace_frame_abgr =
@ -791,6 +793,10 @@ gst_deinterlace_simple_method_class_init (GstDeinterlaceSimpleMethodClass
gst_deinterlace_simple_method_interpolate_scanline_packed; gst_deinterlace_simple_method_interpolate_scanline_packed;
klass->copy_scanline_ayuv = klass->copy_scanline_ayuv =
gst_deinterlace_simple_method_copy_scanline_packed; gst_deinterlace_simple_method_copy_scanline_packed;
klass->interpolate_scanline_uyvy =
gst_deinterlace_simple_method_interpolate_scanline_packed;
klass->copy_scanline_uyvy =
gst_deinterlace_simple_method_copy_scanline_packed;
klass->interpolate_scanline_argb = klass->interpolate_scanline_argb =
gst_deinterlace_simple_method_interpolate_scanline_packed; gst_deinterlace_simple_method_interpolate_scanline_packed;