From 3cb5c5b62aadf9caf6b7412135cab1a111e7f9fa Mon Sep 17 00:00:00 2001 From: nicodvb Date: Fri, 15 Sep 2006 17:26:30 +0000 Subject: [PATCH] don't uninit the video_out when using -fixed-vo; patch by Jonas Jermann git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19843 b3059339-0415-0410-9bf9-f77b7e298cf2 --- mplayer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mplayer.c b/mplayer.c index 712a9e7bf5..b6df2324c0 100644 --- a/mplayer.c +++ b/mplayer.c @@ -5138,7 +5138,7 @@ if(step_sec>0) { 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;