imagefreeze: immediately return GST_FLOW_EOS

... rather than _OK since we will not be caring about subsequent buffer
anyway.
This commit is contained in:
Mark Nauwelaerts 2012-03-23 18:44:15 +01:00
parent ff616b1173
commit d7caf1dbb4

View file

@ -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, gst_pad_start_task (self->srcpad, (GstTaskFunction) gst_image_freeze_src_loop,
self->srcpad); self->srcpad);
g_mutex_unlock (&self->lock); g_mutex_unlock (&self->lock);
return GST_FLOW_OK; return GST_FLOW_EOS;
} }
static void static void