summaryrefslogtreecommitdiffstats
path: root/gst/deinterlace/gstdeinterlace.c
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2009-05-14 21:43:14 +0200
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2009-05-15 15:14:52 +0200
commitad9b02b881e2f6dca0133a4831ee640d92701f41 (patch)
tree671100b7fa71c738ceeafaf0a7009aaeaff53d4f /gst/deinterlace/gstdeinterlace.c
parent2410cd7a003e4ce9977453c946152b9c9c80f20e (diff)
deinterlace: If the upstream max latency is unbound return unbound max latency
Fixes bug #582661.
Diffstat (limited to 'gst/deinterlace/gstdeinterlace.c')
-rw-r--r--gst/deinterlace/gstdeinterlace.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gst/deinterlace/gstdeinterlace.c b/gst/deinterlace/gstdeinterlace.c
index af730f4f..3ad27d8f 100644
--- a/gst/deinterlace/gstdeinterlace.c
+++ b/gst/deinterlace/gstdeinterlace.c
@@ -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,