[gst-cvs] gst-plugins-good: deinterlace: If the upstream max latency is unbound return unbound max latency

Sebastian Dröge slomo at kemper.freedesktop.org
Fri May 15 06:14:57 PDT 2009


Module: gst-plugins-good
Branch: master
Commit: ad9b02b881e2f6dca0133a4831ee640d92701f41
URL:    http://cgit.freedesktop.org/gstreamer/gst-plugins-good/commit/?id=ad9b02b881e2f6dca0133a4831ee640d92701f41

Author: Sebastian Dröge <sebastian.droege at collabora.co.uk>
Date:   Thu May 14 21:43:14 2009 +0200

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

Fixes bug #582661.

---

 gst/deinterlace/gstdeinterlace.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/gst/deinterlace/gstdeinterlace.c b/gst/deinterlace/gstdeinterlace.c
index af730f4..3ad27d8 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,





More information about the Gstreamer-commits mailing list