v4l2transform: Fix potential deadlock due to missing break

CID 1212131
This commit is contained in:
Nicolas Dufresne 2014-05-09 12:11:54 -04:00
parent b2e1598e4a
commit bf1918481d

View file

@ -536,6 +536,7 @@ gst_v4l2_transform_sink_event (GstBaseTransform * trans, GstEvent * event)
GST_DEBUG_OBJECT (self, "flush start");
gst_v4l2_object_unlock (self->v4l2output);
gst_v4l2_object_unlock (self->v4l2capture);
break;
case GST_EVENT_FLUSH_STOP:
GST_DEBUG_OBJECT (self, "flush stop");
gst_v4l2_object_unlock_stop (self->v4l2output);