summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-03-06 11:24:08 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-03-06 11:24:08 +0000
commitc73a6a15d3b7f36f959272cdf4a67b575deb9f7a (patch)
treea7667bd4fbcb69ba6db1004b50ef7fcc741661d0
parentd96c2d51d976c011e9758b4929916f7a3c0179c6 (diff)
downloadmpv-c73a6a15d3b7f36f959272cdf4a67b575deb9f7a.tar.bz2
mpv-c73a6a15d3b7f36f959272cdf4a67b575deb9f7a.tar.xz
Fix bad uninit when switching DVB channels.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22476 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r--mplayer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mplayer.c b/mplayer.c
index ddf4e24cb4..3348ecb568 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -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;