[0.11] gstreamer: basesrc: handle latency event

Wim Taymans wtay at kemper.freedesktop.org
Mon Jan 2 06:42:57 PST 2012


Module: gstreamer
Branch: 0.11
Commit: 63d95063a7d0592bd8a12ffb6f58b2e051e53bc6
URL:    http://cgit.freedesktop.org/gstreamer/gstreamer/commit/?id=63d95063a7d0592bd8a12ffb6f58b2e051e53bc6

Author: Wim Taymans <wim.taymans at collabora.co.uk>
Date:   Mon Jan  2 15:38:25 2012 +0100

basesrc: handle latency event

---

 libs/gst/base/gstbasesrc.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/libs/gst/base/gstbasesrc.c b/libs/gst/base/gstbasesrc.c
index 47f7e2f..e53f4cf 100644
--- a/libs/gst/base/gstbasesrc.c
+++ b/libs/gst/base/gstbasesrc.c
@@ -1857,6 +1857,9 @@ gst_base_src_default_event (GstBaseSrc * src, GstEvent * event)
     case GST_EVENT_RECONFIGURE:
       result = TRUE;
       break;
+    case GST_EVENT_LATENCY:
+      result = TRUE;
+      break;
     default:
       result = FALSE;
       break;



More information about the gstreamer-commits mailing list