mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-21 07:46:38 +00:00
videodecoder: Break instead of return if default negotiation on GAP events fails
Otherwise we're going to leak the event.
This commit is contained in:
parent
d4f9ea8499
commit
6539d1da29
1 changed files with 2 additions and 1 deletions
|
@ -1224,7 +1224,8 @@ gst_video_decoder_sink_event_default (GstVideoDecoder * decoder,
|
|||
GST_VIDEO_DECODER_STREAM_UNLOCK (decoder);
|
||||
GST_ELEMENT_ERROR (decoder, STREAM, FORMAT, (NULL),
|
||||
("Decoder output not negotiated before GAP event."));
|
||||
return FALSE;
|
||||
forward_immediate = TRUE;
|
||||
break;
|
||||
}
|
||||
}
|
||||
GST_VIDEO_DECODER_STREAM_UNLOCK (decoder);
|
||||
|
|
Loading…
Reference in a new issue