From d7caf1dbb4de9f4f2ef08848d7a9ae0d48513eb5 Mon Sep 17 00:00:00 2001 From: Mark Nauwelaerts Date: Fri, 23 Mar 2012 18:44:15 +0100 Subject: [PATCH] imagefreeze: immediately return GST_FLOW_EOS ... rather than _OK since we will not be caring about subsequent buffer anyway. --- gst/imagefreeze/gstimagefreeze.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/imagefreeze/gstimagefreeze.c b/gst/imagefreeze/gstimagefreeze.c index 199312b37f..16a9b234a2 100644 --- a/gst/imagefreeze/gstimagefreeze.c +++ b/gst/imagefreeze/gstimagefreeze.c @@ -687,7 +687,7 @@ gst_image_freeze_sink_chain (GstPad * pad, GstObject * parent, gst_pad_start_task (self->srcpad, (GstTaskFunction) gst_image_freeze_src_loop, self->srcpad); g_mutex_unlock (&self->lock); - return GST_FLOW_OK; + return GST_FLOW_EOS; } static void