changeset 19837:e507a91a37ed

don't uninit the video_out when using -fixed-vo; patch by Jonas Jermann
author nicodvb
date Fri, 15 Sep 2006 17:26:30 +0000
parents 9470f7630ee4
children 0740b6334f06
files mplayer.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mplayer.c	Fri Sep 15 17:18:47 2006 +0000
+++ b/mplayer.c	Fri Sep 15 17:26:30 2006 +0000
@@ -5138,7 +5138,7 @@
       if(stream->type != STREAMTYPE_DVDNAV) break;
 
       if(mp_dvdnav_handle_input(stream, cmd->args[0].v.i, &button)) {
-          uninit_player(INITED_ALL-(INITED_STREAM|INITED_INPUT));
+          uninit_player(INITED_ALL-(INITED_STREAM|INITED_INPUT|(fixed_vo ? INITED_VO : 0)));
           goto goto_enable_cache;
       } else if(button) set_osd_msg(OSD_MSG_TEXT, 1, osd_duration, "Selected button number %d", button);
       break;