+ if (GST_EVENT_IS_SERIALIZED (event)) {
+ fail_if (!consist->saw_stream_start
+ && GST_EVENT_TYPE (event) != GST_EVENT_STREAM_START,
+ "Got a serialized event (%s) before a STREAM_START on pad %s:%s",
+ GST_EVENT_TYPE_NAME (event), GST_DEBUG_PAD_NAME (pad));
+ consist->saw_serialized_event = TRUE;
+ }