mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 10:11:08 +00:00
consistencychecker: allow some more events before a segment event
This commit is contained in:
parent
e0ab66cf55
commit
1e37964202
1 changed files with 6 additions and 0 deletions
|
@ -86,6 +86,12 @@ source_pad_data_cb (GstPad * pad, GstPadProbeInfo * info,
|
|||
fail_if (consist->eos, "Received a FLUSH_STOP after an EOS");
|
||||
consist->flushing = consist->expect_flush = FALSE;
|
||||
break;
|
||||
case GST_EVENT_STREAM_START:
|
||||
case GST_EVENT_STREAM_CONFIG:
|
||||
case GST_EVENT_CAPS:
|
||||
/* ok to have these before segment event */
|
||||
/* FIXME check order more precisely, if so spec'ed somehow ? */
|
||||
break;
|
||||
case GST_EVENT_SEGMENT:
|
||||
fail_if ((consist->expect_flush && consist->flushing),
|
||||
"Received SEGMENT while in a flushing seek");
|
||||
|
|
Loading…
Reference in a new issue