diff options
author | Dudemanguy <random342@airmail.cc> | 2023-08-10 11:31:56 -0500 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2023-08-11 22:28:50 +0000 |
commit | fccb4466cdb9d3d0e3fb8807af8f0ed192f4f406 (patch) | |
tree | 16c7df8c20f3f91eb75f8fcdf4ea789dfab4640e /player/core.h | |
parent | 41c03212083485afd683c4b6231d49b9557bb0a4 (diff) | |
download | mpv-fccb4466cdb9d3d0e3fb8807af8f0ed192f4f406.tar.bz2 mpv-fccb4466cdb9d3d0e3fb8807af8f0ed192f4f406.tar.xz |
player/video: avoid spamming logs with EOF
When playing a sparse video stream, the debug log gets hit with the
video EOF constantly since the audio is still playing. There's no
practical use for this so just do add some logic to only signal it once
if it is sparse.
Diffstat (limited to 'player/core.h')
-rw-r--r-- | player/core.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/player/core.h b/player/core.h index df98b6c2e9..3ea862462d 100644 --- a/player/core.h +++ b/player/core.h @@ -168,6 +168,7 @@ struct vo_chain { bool is_coverart; // - video consists of sparse still images bool is_sparse; + bool sparse_eof_signalled; bool underrun; bool underrun_signaled; |