mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 16:50:47 +00:00
A discont event should not flush the queue
Original commit message from CVS: A discont event should not flush the queue
This commit is contained in:
parent
ae36592abe
commit
2030bd0eb1
2 changed files with 2 additions and 8 deletions
|
@ -337,11 +337,8 @@ restart:
|
|||
GST_DEBUG_ELEMENT (GST_CAT_DATAFLOW, queue, "eos in on %s %d\n",
|
||||
GST_ELEMENT_NAME (queue), queue->level_buffers);
|
||||
break;
|
||||
case GST_EVENT_DISCONTINUOUS:
|
||||
gst_queue_locked_flush (queue);
|
||||
break;
|
||||
default:
|
||||
/*gst_pad_event_default (pad, GST_EVENT (buf)); */
|
||||
/* we put the event in the queue, we don't have to act ourselves */
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -337,11 +337,8 @@ restart:
|
|||
GST_DEBUG_ELEMENT (GST_CAT_DATAFLOW, queue, "eos in on %s %d\n",
|
||||
GST_ELEMENT_NAME (queue), queue->level_buffers);
|
||||
break;
|
||||
case GST_EVENT_DISCONTINUOUS:
|
||||
gst_queue_locked_flush (queue);
|
||||
break;
|
||||
default:
|
||||
/*gst_pad_event_default (pad, GST_EVENT (buf)); */
|
||||
/* we put the event in the queue, we don't have to act ourselves */
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue