comparison mplayer.c @ 10884:bbdaa93c469e

slave mode commands to print out vo_fs and sub_visibility globals, patch by Mike Swieton <swietonm at student.gvsu.edu>
author faust3
date Fri, 19 Sep 2003 20:44:30 +0000
parents e3727e92e9d8
children d45870f67728
comparison
equal deleted inserted replaced
10883:5977670f744e 10884:bbdaa93c469e
3031 osd_show_sub_visibility = 9; // show state of subtitle visibility in OSD 3031 osd_show_sub_visibility = 9; // show state of subtitle visibility in OSD
3032 vo_osd_changed(OSDTYPE_SUBTITLE); 3032 vo_osd_changed(OSDTYPE_SUBTITLE);
3033 } 3033 }
3034 #endif 3034 #endif
3035 } break; 3035 } break;
3036 case MP_CMD_GET_SUB_VISIBILITY:
3037 {
3038 #ifdef USE_SUB
3039 if (sh_video) {
3040 mp_msg(MSGT_GLOBAL,MSGL_INFO,"ANS_SUB_VISIBILITY=%ld\n", sub_visibility);
3041 }
3042 #endif
3043 } break;
3036 case MP_CMD_VOBSUB_LANG: 3044 case MP_CMD_VOBSUB_LANG:
3037 if (vo_vobsub) 3045 if (vo_vobsub)
3038 { 3046 {
3039 int new_id = vobsub_id + 1; 3047 int new_id = vobsub_id + 1;
3040 if (vobsub_id < 0) 3048 if (vobsub_id < 0)
3064 3072
3065 case MP_CMD_GET_TIME_LENGTH : { 3073 case MP_CMD_GET_TIME_LENGTH : {
3066 mp_msg(MSGT_GLOBAL,MSGL_INFO,"ANS_LENGTH=%ld\n", demuxer_get_time_length(demuxer)); 3074 mp_msg(MSGT_GLOBAL,MSGL_INFO,"ANS_LENGTH=%ld\n", demuxer_get_time_length(demuxer));
3067 } break; 3075 } break;
3068 3076
3077 case MP_CMD_GET_VO_FULLSCREEN : {
3078 if(video_out && vo_config_count)
3079 mp_msg(MSGT_GLOBAL,MSGL_INFO,"ANS_VO_FULLSCREEN=%ld\n", vo_fs);
3080 } break;
3081
3069 case MP_CMD_GET_PERCENT_POS : { 3082 case MP_CMD_GET_PERCENT_POS : {
3070 mp_msg(MSGT_GLOBAL,MSGL_INFO,"ANS_PERCENT_POSITION=%ld\n", demuxer_get_percent_pos(demuxer)); 3083 mp_msg(MSGT_GLOBAL,MSGL_INFO,"ANS_PERCENT_POSITION=%ld\n", demuxer_get_percent_pos(demuxer));
3071 } break; 3084 } break;
3072 3085
3073 #ifdef USE_DVDNAV 3086 #ifdef USE_DVDNAV