mirror of
https://github.com/mpv-player/mpv.git
synced 2025-12-28 05:33:14 +00:00
audio: do not try gapless if video is still ongoing
In this case, gapless will most likely not work. It will result in (very slight) desync, or (more commonly with small buffer sizes), in an underflow. I think it would be legitimate to disable gapless at end of playback completely if video is enabled at all. But this would need an exception for cover art mode, so I guess the current solution is OK as well.
This commit is contained in:
@@ -1798,6 +1798,8 @@ Audio
|
||||
an implementation detail, and can change from version to version.
|
||||
Currently, the device is kept even if the sample format changes,
|
||||
but the sample formats are convertible.
|
||||
If video is still going on when there is still audio, trying to use
|
||||
gapless is also explicitly given up.
|
||||
|
||||
.. note::
|
||||
|
||||
|
||||
Reference in New Issue
Block a user