From 611d87ce7ae3c143ea0e1b9a5105628f26cf2991 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Mon, 14 Jun 2010 11:03:50 +0200 Subject: [PATCH] appsrc: Return FALSE from the seek handler if no seek callback was set --- gst-libs/gst/app/gstappsrc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst-libs/gst/app/gstappsrc.c b/gst-libs/gst/app/gstappsrc.c index 25214ad6c2..0f7ff53c75 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;