deinterlace: If the upstream max latency is unbound return unbound max latency
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Thu, 14 May 2009 19:43:14 +0000 (21:43 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Fri, 15 May 2009 13:14:52 +0000 (15:14 +0200)
Fixes bug #582661.

gst/deinterlace/gstdeinterlace.c

index af730f4fc0b570422173451ac88cd39a7b3f65de..3ad27d8f018f9d8030e7d9a357265aa5cbe9392e 100644 (file)
@@ -1459,8 +1459,6 @@ gst_deinterlace_src_query (GstPad * pad, GstQuery * query)
             min += latency;
             if (max != GST_CLOCK_TIME_NONE)
               max += latency;
-            else
-              max = latency;
 
             GST_DEBUG_OBJECT (self, "Calculated total latency : min %"
                 GST_TIME_FORMAT " max %" GST_TIME_FORMAT,