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
@ -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…
x
Reference in New Issue
Block a user