Skip to content

dav1d: fix decoder failed after seek

Steve Lhomme requested to merge robUx4/vlc:dav1d-flush-buffer into master

decoder_NewPicture() can return NULL due to picture_pool_Cancel, which can happen when seek. With alloc_picture_callback, decoder_NewPicture() error leads to decoder failure.

Fix #26915 (closed)

Uses the patch !1889 (closed) and only allocate the non-pool buffer when we know it will flush.

Merge request reports

Loading