mirror of https://github.com/mpv-player/mpv
Fix bad uninit when switching DVB channels.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22476 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
d96c2d51d9
commit
c73a6a15d3
|
@ -3586,7 +3586,7 @@ mp_msg(MSGT_GLOBAL,MSGL_V,"EOF code: %d \n",mpctx->eof);
|
|||
if(mpctx->dvbin_reopen)
|
||||
{
|
||||
mpctx->eof = 0;
|
||||
uninit_player(INITED_ALL-(INITED_STREAM|INITED_INPUT));
|
||||
uninit_player(INITED_ALL-(INITED_GUI|INITED_STREAM|INITED_INPUT|INITED_GETCH2|(fixed_vo?INITED_VO:0)));
|
||||
cache_uninit(mpctx->stream);
|
||||
mpctx->dvbin_reopen = 0;
|
||||
goto goto_enable_cache;
|
||||
|
|
Loading…
Reference in New Issue