katedec/tiger: Don't queue sticky events that would come before CAPS

This commit is contained in:
Sebastian Dröge 2013-05-15 10:02:29 +02:00
parent c4fe52e33e
commit d997c5db0e

View file

@ -156,6 +156,9 @@ gst_kate_util_decoder_base_queue_event (GstKateDecoderBase * decoder,
break;
}
if (GST_EVENT_IS_STICKY (event) && GST_EVENT_TYPE (event) < GST_EVENT_CAPS)
can_be_queued = FALSE;
if (decoder->delay_events && can_be_queued) {
GstKateDecoderBaseQueuedEvent *item;
GST_DEBUG_OBJECT (decoder, "We have to delay the event");