From 2db283499e1482333cc761481f96f7c0aed69abb Mon Sep 17 00:00:00 2001 From: "Jan Alexander Steffens (heftig)" Date: Fri, 11 Mar 2022 10:32:42 +0100 Subject: [PATCH] deinterlace: scalerbob: Reduce latency to 0 We only need the current field, just like `linear`. Part-of: --- subprojects/gst-plugins-good/gst/deinterlace/tvtime/scalerbob.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/subprojects/gst-plugins-good/gst/deinterlace/tvtime/scalerbob.c b/subprojects/gst-plugins-good/gst/deinterlace/tvtime/scalerbob.c index ed20bd4..1caa17f 100644 --- a/subprojects/gst-plugins-good/gst/deinterlace/tvtime/scalerbob.c +++ b/subprojects/gst-plugins-good/gst/deinterlace/tvtime/scalerbob.c @@ -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; -- 2.7.4