deinterlace: If the upstream max latency is unbound return unbound max latency

Fixes bug #582661.
This commit is contained in:
Sebastian Dröge 2009-05-14 21:43:14 +02:00
parent 2410cd7a00
commit ad9b02b881

View file

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