mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-23 07:38:16 +00:00
katedec/tiger: Don't queue sticky events that would come before CAPS
This commit is contained in:
parent
c4fe52e33e
commit
d997c5db0e
1 changed files with 3 additions and 0 deletions
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue