mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
v4l2videodec: Add trace for FLUSH_START/STOP handling
This commit is contained in:
parent
c9dcc63eb8
commit
1e48ad8fa8
1 changed files with 2 additions and 0 deletions
|
@ -683,6 +683,7 @@ gst_v4l2_video_dec_sink_event (GstVideoDecoder * decoder, GstEvent * event)
|
|||
|
||||
switch (GST_EVENT_TYPE (event)) {
|
||||
case GST_EVENT_FLUSH_START:
|
||||
GST_DEBUG_OBJECT (self, "flush start");
|
||||
gst_v4l2_object_unlock (self->v4l2output);
|
||||
gst_v4l2_object_unlock (self->v4l2capture);
|
||||
break;
|
||||
|
@ -696,6 +697,7 @@ gst_v4l2_video_dec_sink_event (GstVideoDecoder * decoder, GstEvent * event)
|
|||
case GST_EVENT_FLUSH_START:
|
||||
/* The processing thread should stop now, wait for it */
|
||||
gst_pad_stop_task (decoder->srcpad);
|
||||
GST_DEBUG_OBJECT (self, "flush start done");
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue