mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-05 15:08:53 +00:00
consitencychecker: don't fail on multiple flush_start events
This seems to be okay after a irc discussion.
This commit is contained in:
parent
43a6f5a63d
commit
7141ad3ce6
1 changed files with 3 additions and 3 deletions
|
@ -71,9 +71,9 @@ source_pad_data_cb (GstPad * pad, GstMiniObject * data,
|
||||||
GST_DEBUG_OBJECT (pad, "%s", GST_EVENT_TYPE_NAME (event));
|
GST_DEBUG_OBJECT (pad, "%s", GST_EVENT_TYPE_NAME (event));
|
||||||
switch (GST_EVENT_TYPE (event)) {
|
switch (GST_EVENT_TYPE (event)) {
|
||||||
case GST_EVENT_FLUSH_START:
|
case GST_EVENT_FLUSH_START:
|
||||||
/* FIXME : not 100% sure about whether getting two flush_start in a row
|
/* getting two flush_start in a row seems to be okay
|
||||||
* is valid */
|
fail_if (consist->flushing, "Received another FLUSH_START");
|
||||||
fail_if (consist->flushing, "Received another FLUSH_START");
|
*/
|
||||||
consist->flushing = TRUE;
|
consist->flushing = TRUE;
|
||||||
break;
|
break;
|
||||||
case GST_EVENT_FLUSH_STOP:
|
case GST_EVENT_FLUSH_STOP:
|
||||||
|
|
Loading…
Reference in a new issue