# HG changeset patch # User nicodvb # Date 1158341190 0 # Node ID e507a91a37edecc9225500902e73c6bd1f3068d4 # Parent 9470f7630ee47cdc8e9361638619a88c8ad23e82 don't uninit the video_out when using -fixed-vo; patch by Jonas Jermann diff -r 9470f7630ee4 -r e507a91a37ed mplayer.c --- 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;