mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-31 11:32:38 +00:00
queue2: properly identity dequeued event as such
... which avoids terminating with ERROR rather than UNEXPECTED.
This commit is contained in:
parent
d9a24f585f
commit
e14c133587
1 changed files with 2 additions and 0 deletions
|
@ -1927,6 +1927,8 @@ gst_queue2_locked_dequeue (GstQueue2 * queue, gboolean * is_buffer)
|
|||
} else if (GST_IS_EVENT (item)) {
|
||||
GstEvent *event = GST_EVENT_CAST (item);
|
||||
|
||||
*is_buffer = FALSE;
|
||||
|
||||
GST_CAT_LOG_OBJECT (queue_dataflow, queue,
|
||||
"retrieved event %p from queue", event);
|
||||
|
||||
|
|
Loading…
Reference in a new issue