mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 17:20:36 +00:00
consistencychecker: print which event we received before stream-start
This commit is contained in:
parent
9427851fd2
commit
11ce044cc4
1 changed files with 2 additions and 1 deletions
|
@ -123,7 +123,8 @@ source_pad_data_cb (GstPad * pad, GstPadProbeInfo * info,
|
||||||
if (GST_EVENT_IS_SERIALIZED (event)) {
|
if (GST_EVENT_IS_SERIALIZED (event)) {
|
||||||
fail_if (!consist->saw_stream_start
|
fail_if (!consist->saw_stream_start
|
||||||
&& GST_EVENT_TYPE (event) != GST_EVENT_STREAM_START,
|
&& GST_EVENT_TYPE (event) != GST_EVENT_STREAM_START,
|
||||||
"Got a serialized event before a STREAM_START");
|
"Got a serialized event (%s) before a STREAM_START",
|
||||||
|
GST_EVENT_TYPE_NAME (event));
|
||||||
consist->saw_serialized_event = TRUE;
|
consist->saw_serialized_event = TRUE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue