mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-02 20:42:30 +00:00
consistencychecker: also check for duplicated flush_starts
This commit is contained in:
parent
9fd063e404
commit
ac03c328d5
1 changed files with 3 additions and 0 deletions
|
@ -58,6 +58,9 @@ source_pad_data_cb (GstPad * pad, GstMiniObject * data,
|
|||
GST_DEBUG_OBJECT (pad, "%s", GST_EVENT_TYPE_NAME (event));
|
||||
switch (GST_EVENT_TYPE (event)) {
|
||||
case GST_EVENT_FLUSH_START:
|
||||
/* FIXME : not 100% sure about whether getting two flush_start in a row
|
||||
* is valid */
|
||||
fail_if (consist->flushing, "Received another FLUSH_START");
|
||||
consist->flushing = TRUE;
|
||||
break;
|
||||
case GST_EVENT_FLUSH_STOP:
|
||||
|
|
Loading…
Reference in a new issue