[gst-cvs] gst-plugins-base: appsrc: Return FALSE from the seek handler if no seek callback was set

Sebastian Dröge slomo at kemper.freedesktop.org
Mon Jun 14 02:14:01 PDT 2010


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

Author: Sebastian Dröge <sebastian.droege at collabora.co.uk>
Date:   Mon Jun 14 11:03:50 2010 +0200

appsrc: Return FALSE from the seek handler if no seek callback was set

---

 gst-libs/gst/app/gstappsrc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/gst-libs/gst/app/gstappsrc.c b/gst-libs/gst/app/gstappsrc.c
index 25214ad..0f7ff53 100644
--- a/gst-libs/gst/app/gstappsrc.c
+++ b/gst-libs/gst/app/gstappsrc.c
@@ -889,7 +889,7 @@ gst_app_src_do_seek (GstBaseSrc * src, GstSegment * segment)
 static gboolean
 gst_app_src_emit_seek (GstAppSrc * appsrc, guint64 offset)
 {
-  gboolean res;
+  gboolean res = FALSE;
   gboolean emit;
   GstAppSrcPrivate *priv = appsrc->priv;
 





More information about the Gstreamer-commits mailing list