Commit 6f5edb3b authored by Nicolas Dufresne's avatar Nicolas Dufresne

v4l2transform: Handle FLUSH_STOP event

parent 815c9b7d
...@@ -533,8 +533,13 @@ gst_v4l2_transform_sink_event (GstBaseTransform * trans, GstEvent * event) ...@@ -533,8 +533,13 @@ gst_v4l2_transform_sink_event (GstBaseTransform * trans, GstEvent * event)
switch (GST_EVENT_TYPE (event)) { switch (GST_EVENT_TYPE (event)) {
case GST_EVENT_FLUSH_START: case GST_EVENT_FLUSH_START:
GST_DEBUG_OBJECT (self, "flush start");
gst_v4l2_object_unlock (self->v4l2output); gst_v4l2_object_unlock (self->v4l2output);
gst_v4l2_object_unlock (self->v4l2capture); gst_v4l2_object_unlock (self->v4l2capture);
case GST_EVENT_FLUSH_STOP:
GST_DEBUG_OBJECT (self, "flush stop");
gst_v4l2_object_unlock_stop (self->v4l2output);
gst_v4l2_object_unlock_stop (self->v4l2capture);
default: default:
break; break;
} }
......
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