decoder: reset vout state only once
commit69a685f34f1423c464523a4eedab049cb2b0d8f6
authorThomas Guillem <thomas@gllm.fr>
Thu, 11 Mar 2021 09:22:21 +0000 (11 10:22 +0100)
committerThomas Guillem <thomas@gllm.fr>
Fri, 12 Mar 2021 09:52:19 +0000 (12 10:52 +0100)
treebe547e760bc182c0f9b7c22985705141ff104c0d
parente2f48b1a51102f47ab7931e91eae30060cec25b4
decoder: reset vout state only once

Reset the vout state only if the new vout was just started.

Fixes assert(!sys->pause.is_on || !is_paused) on vout_ChangePause().
src/input/decoder.c