Commit bf191848 authored by Nicolas Dufresne's avatar Nicolas Dufresne

v4l2transform: Fix potential deadlock due to missing break

CID 1212131
parent b2e1598e
...@@ -536,6 +536,7 @@ gst_v4l2_transform_sink_event (GstBaseTransform * trans, GstEvent * event) ...@@ -536,6 +536,7 @@ gst_v4l2_transform_sink_event (GstBaseTransform * trans, GstEvent * event)
GST_DEBUG_OBJECT (self, "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);
break;
case GST_EVENT_FLUSH_STOP: case GST_EVENT_FLUSH_STOP:
GST_DEBUG_OBJECT (self, "flush stop"); GST_DEBUG_OBJECT (self, "flush stop");
gst_v4l2_object_unlock_stop (self->v4l2output); gst_v4l2_object_unlock_stop (self->v4l2output);
......
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