queue2: properly identity dequeued event as such

... which avoids terminating with ERROR rather than UNEXPECTED.
This commit is contained in:
Mark Nauwelaerts 2011-02-02 15:35:45 +01:00
parent d9a24f585f
commit e14c133587

View file

@ -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);