From 26afe0c58c12731dfc9c655a54401406fb71631a Mon Sep 17 00:00:00 2001 From: faust3 Date: Fri, 19 Sep 2003 20:44:30 +0000 Subject: slave mode commands to print out vo_fs and sub_visibility globals, patch by Mike Swieton git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10885 b3059339-0415-0410-9bf9-f77b7e298cf2 --- mplayer.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'mplayer.c') diff --git a/mplayer.c b/mplayer.c index a2ec333642..0e24f2caad 100644 --- a/mplayer.c +++ b/mplayer.c @@ -3033,6 +3033,14 @@ if (stream->type==STREAMTYPE_DVDNAV && dvd_nav_still) } #endif } break; + case MP_CMD_GET_SUB_VISIBILITY: + { +#ifdef USE_SUB + if (sh_video) { + mp_msg(MSGT_GLOBAL,MSGL_INFO,"ANS_SUB_VISIBILITY=%ld\n", sub_visibility); + } +#endif + } break; case MP_CMD_VOBSUB_LANG: if (vo_vobsub) { @@ -3066,6 +3074,11 @@ if (stream->type==STREAMTYPE_DVDNAV && dvd_nav_still) mp_msg(MSGT_GLOBAL,MSGL_INFO,"ANS_LENGTH=%ld\n", demuxer_get_time_length(demuxer)); } break; + case MP_CMD_GET_VO_FULLSCREEN : { + if(video_out && vo_config_count) + mp_msg(MSGT_GLOBAL,MSGL_INFO,"ANS_VO_FULLSCREEN=%ld\n", vo_fs); + } break; + case MP_CMD_GET_PERCENT_POS : { mp_msg(MSGT_GLOBAL,MSGL_INFO,"ANS_PERCENT_POSITION=%ld\n", demuxer_get_percent_pos(demuxer)); } break; -- cgit v1.2.3