diff options
author | wm4 <wm4@nowhere> | 2014-10-10 14:49:18 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-10-10 14:49:18 +0200 |
commit | ad541c26f7106e8f10e89b2318005cd805a98f85 (patch) | |
tree | 7240fa957e79409a426225122ce48ceed2f48880 /player | |
parent | f93419f6b223546d36580ad37ca2644c0c4bb971 (diff) | |
download | mpv-ad541c26f7106e8f10e89b2318005cd805a98f85.tar.bz2 mpv-ad541c26f7106e8f10e89b2318005cd805a98f85.tar.xz |
player: don't close audio device in gapless mode
I don't see much of a reason for this extra corner case.
Diffstat (limited to 'player')
-rw-r--r-- | player/loadfile.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/player/loadfile.c b/player/loadfile.c index a30c491227..2c0709dda7 100644 --- a/player/loadfile.c +++ b/player/loadfile.c @@ -1210,8 +1210,7 @@ terminate_playback: uninit_stream(mpctx); if (!opts->fixed_vo) uninit_video_out(mpctx); - if (!(opts->gapless_audio && mpctx->stop_play == AT_END_OF_FILE) && - !mpctx->encode_lavc_ctx) + if (!opts->gapless_audio && !mpctx->encode_lavc_ctx) uninit_audio_out(mpctx); if (mpctx->stop_play != PT_RESTART) |