1
0
mirror of https://github.com/mpv-player/mpv synced 2025-03-01 11:50:48 +00:00

player: don't remove playback status when reinitializing DVB

Also break that line a bit.
This commit is contained in:
wm4 2013-11-17 14:35:20 +01:00
parent fde0e9e84d
commit b3eed7374e

View File

@ -1285,7 +1285,9 @@ goto_reopen_demuxer: ;
#if HAVE_DVBIN
if (mpctx->dvbin_reopen) {
mpctx->stop_play = 0;
uninit_player(mpctx, INITIALIZED_ALL - (INITIALIZED_STREAM | INITIALIZED_GETCH2 | (opts->fixed_vo ? INITIALIZED_VO : 0)));
uninit_player(mpctx, INITIALIZED_ALL -
(INITIALIZED_PLAYBACK | INITIALIZED_STREAM | INITIALIZED_GETCH2 |
(opts->fixed_vo ? INITIALIZED_VO : 0)));
mpctx->dvbin_reopen = 0;
goto goto_reopen_demuxer;
}