mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-07 07:58:51 +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)) {
|
switch (GST_EVENT_TYPE (event)) {
|
||||||
case GST_EVENT_FLUSH_START:
|
case GST_EVENT_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;
|
break;
|
||||||
|
@ -696,6 +697,7 @@ gst_v4l2_video_dec_sink_event (GstVideoDecoder * decoder, GstEvent * event)
|
||||||
case GST_EVENT_FLUSH_START:
|
case GST_EVENT_FLUSH_START:
|
||||||
/* The processing thread should stop now, wait for it */
|
/* The processing thread should stop now, wait for it */
|
||||||
gst_pad_stop_task (decoder->srcpad);
|
gst_pad_stop_task (decoder->srcpad);
|
||||||
|
GST_DEBUG_OBJECT (self, "flush start done");
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue