]> git.nihav.org Git - nihav-player.git/commit
videoplayer: improve prefill code
authorKostya Shishkov <kostya.shishkov@gmail.com>
Sat, 14 Feb 2026 19:16:29 +0000 (20:16 +0100)
committerKostya Shishkov <kostya.shishkov@gmail.com>
Sat, 14 Feb 2026 19:16:29 +0000 (20:16 +0100)
commite5bf23008ea53cee3efa716627062302143ba215
treee1d784956cb1157d743099de83e3eace27ec532d
parent2ec0ae2f3363083d7f0eb168cff1e7f98f7beda2
videoplayer: improve prefill code

Previously prefill would fail with hardware-accelerated H.264 decoder
since it starts output after 16 frames and prefill gives up after
sending fewer packets. Repeating the cycle of sending packets and
collecting frames should fix that.
videoplayer/src/main.rs