Commit d7caf1db authored by Mark Nauwelaerts's avatar Mark Nauwelaerts
Browse files

imagefreeze: immediately return GST_FLOW_EOS

... rather than _OK since we will not be caring about subsequent buffer
anyway.
parent ff616b11
...@@ -687,7 +687,7 @@ gst_image_freeze_sink_chain (GstPad * pad, GstObject * parent, ...@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment