deinterlace: scalerbob: Reduce latency to 0

We only need the current field, just like `linear`.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1926>
This commit is contained in:
Jan Alexander Steffens (heftig) 2022-03-11 10:32:42 +01:00 committed by GStreamer Marge Bot
parent 8c648384f2
commit 2db283499e

View file

@ -77,10 +77,10 @@ gst_deinterlace_method_scaler_bob_class_init (GstDeinterlaceMethodScalerBobClass
GstDeinterlaceSimpleMethodClass *dism_class =
(GstDeinterlaceSimpleMethodClass *) klass;
dim_class->fields_required = 2;
dim_class->fields_required = 1;
dim_class->name = "Double lines";
dim_class->nick = "scalerbob";
dim_class->latency = 1;
dim_class->latency = 0;
dism_class->interpolate_scanline_ayuv =
deinterlace_scanline_scaler_bob_packed;