1
mirror of https://github.com/mpv-player/mpv synced 2024-10-22 08:51:57 +02:00

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
This commit is contained in:
nicodvb 2006-09-15 17:26:30 +00:00
parent d98901ad15
commit 3cb5c5b62a

View File

@ -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;