changeset 22458:2c1ecca1886c

Fix bad uninit when switching DVB channels.
author reimar
date Tue, 06 Mar 2007 11:24:08 +0000
parents ec65ae350bb6
children d870e862d272
files mplayer.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mplayer.c	Tue Mar 06 10:00:53 2007 +0000
+++ b/mplayer.c	Tue Mar 06 11:24:08 2007 +0000
@@ -3586,7 +3586,7 @@
 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;