Skip to content

videodecoder: Fix crash when have_frame() is called twice

If gst_video_decoder_have_frame() is called twice in a row, even though it's a implementation bug, the current base class crash on a null pointer. This patch does like everywhere else, which is to simply prepare a new picture, in that context the buffer will be empty.

Merge request reports