mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
v4l2transform: Flush buffer pools on flush stop
https://bugzilla.gnome.org/show_bug.cgi?id=730207
This commit is contained in:
parent
7986c55dcb
commit
c1792de95e
1 changed files with 6 additions and 0 deletions
|
@ -539,6 +539,12 @@ gst_v4l2_transform_sink_event (GstBaseTransform * trans, GstEvent * event)
|
|||
break;
|
||||
case GST_EVENT_FLUSH_STOP:
|
||||
GST_DEBUG_OBJECT (self, "flush stop");
|
||||
if (self->v4l2output->pool)
|
||||
gst_v4l2_buffer_pool_flush (GST_V4L2_BUFFER_POOL (self->v4l2output->
|
||||
pool));
|
||||
if (self->v4l2capture->pool)
|
||||
gst_v4l2_buffer_pool_flush (GST_V4L2_BUFFER_POOL (self->v4l2capture->
|
||||
pool));
|
||||
gst_v4l2_object_unlock_stop (self->v4l2output);
|
||||
gst_v4l2_object_unlock_stop (self->v4l2capture);
|
||||
default:
|
||||
|
|
Loading…
Reference in a new issue