From d997c5db0ea61ae8900b8fa74e376c087ef6b21a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sebastian=20Dr=C3=B6ge?= Date: Wed, 15 May 2013 10:02:29 +0200 Subject: [PATCH] katedec/tiger: Don't queue sticky events that would come before CAPS --- ext/kate/gstkateutil.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ext/kate/gstkateutil.c b/ext/kate/gstkateutil.c index 4ae5f62e53..85ec24e8dc 100644 --- a/ext/kate/gstkateutil.c +++ b/ext/kate/gstkateutil.c @@ -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"); -- 2.34.1