mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
gst/check/consistencychecker: Check type of miniobject in probe
This commit is contained in:
parent
a8e03abd17
commit
9b17059deb
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ source_pad_data_cb (GstPad * pad, GstMiniObject * data,
|
|||
fail_if (consist->eos, "Buffer received after EOS");
|
||||
/* Buffers need to be preceded by a newsegment event */
|
||||
fail_unless (consist->newsegment, "Buffer received without newsegment");
|
||||
} else {
|
||||
} else if (GST_IS_EVENT (data)) {
|
||||
GstEvent *event = (GstEvent *) data;
|
||||
|
||||
GST_DEBUG_OBJECT (pad, "%s", GST_EVENT_TYPE_NAME (event));
|
||||
|
|
Loading…
Reference in a new issue