comparison mplayer.c @ 4849:9be4ac85dd35

Moved the call to VOCTRL_FULLSCREEN outside of #ifdef USE_TV block
author albeu
date Sun, 24 Feb 2002 21:20:20 +0000
parents 76acf5bbda78
children 534e7b5aaadb
comparison
equal deleted inserted replaced
4848:ad868aae2a5c 4849:9be4ac85dd35
2068 while( 2068 while(
2069 #ifdef HAVE_LIRC 2069 #ifdef HAVE_LIRC
2070 lirc_mp_getinput()<=0 && 2070 lirc_mp_getinput()<=0 &&
2071 #endif 2071 #endif
2072 (use_stdin || getch2(20)<=0) && mplayer_get_key()<=0){ 2072 (use_stdin || getch2(20)<=0) && mplayer_get_key()<=0){
2073 #endif 2073 #endif /* HAVE_NEW_INPUT */
2074 #ifndef USE_LIBVO2 2074 #ifndef USE_LIBVO2
2075 if(sh_video && video_out) video_out->check_events(); 2075 if(sh_video && video_out) video_out->check_events();
2076 #endif /* HAVE_NEW_INPUT */ 2076 #endif
2077 #ifdef HAVE_NEW_GUI 2077 #ifdef HAVE_NEW_GUI
2078 if(use_gui){ 2078 if(use_gui){
2079 guiEventHandling(); 2079 guiEventHandling();
2080 if(guiIntfStruct.Playing!=2 || (rel_seek_secs || abs_seek_pos)) 2080 if(guiIntfStruct.Playing!=2 || (rel_seek_secs || abs_seek_pos))
2081 { gui_pause_flag=1; break; } // end of pause or seek 2081 { gui_pause_flag=1; break; } // end of pause or seek
2632 } break; 2632 } break;
2633 case MP_CMD_TV_STEP_CHANNEL_LIST : { 2633 case MP_CMD_TV_STEP_CHANNEL_LIST : {
2634 if (tv_param_on == 1) 2634 if (tv_param_on == 1)
2635 tv_step_chanlist(tv_handler); 2635 tv_step_chanlist(tv_handler);
2636 } break; 2636 } break;
2637 #endif
2637 case MP_CMD_VO_FULLSCREEN: 2638 case MP_CMD_VO_FULLSCREEN:
2638 { 2639 {
2639 video_out->control(VOCTRL_FULLSCREEN, 0); 2640 video_out->control(VOCTRL_FULLSCREEN, 0);
2640 } break; 2641 } break;
2641 #endif
2642 default : 2642 default :
2643 printf("Received unknow cmd %s\n",cmd->name); 2643 printf("Received unknow cmd %s\n",cmd->name);
2644 } 2644 }
2645 mp_cmd_free(cmd); 2645 mp_cmd_free(cmd);
2646 } 2646 }