v4l2videodec: Add trace for FLUSH_START/STOP handling
This commit is contained in:
parent
c9dcc63eb8
commit
1e48ad8fa8
@ -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…
x
Reference in New Issue
Block a user