Changeset 75365 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- Nov 9, 2018 1:55:30 PM (6 years ago)
- Location:
- trunk/src/VBox/Frontends/VBoxManage
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxManage/VBoxManageControlVM.cpp
r75361 r75365 1855 1855 } 1856 1856 #ifdef VBOX_WITH_RECORDING 1857 else if (!strcmp(a->argv[1], "record "))1857 else if (!strcmp(a->argv[1], "recording")) 1858 1858 { 1859 1859 if (a->argc < 3) -
trunk/src/VBox/Frontends/VBoxManage/VBoxManageHelp.cpp
r75345 r75365 713 713 #endif 714 714 #ifdef VBOX_WITH_RECORDING 715 " [--record on|off]\n"716 " [--record screens all|<screen ID> [<screen ID> ...]]\n"717 " [--record filename <filename>]\n"718 " [--record videores <width> <height>]\n"719 " [--record videorate <rate>]\n"720 " [--record videofps <fps>]\n"721 " [--record maxtime <ms>]\n"722 " [--record maxfilesize <MB>]\n"723 " [--record opts <key=value> [,<key=value> ...]]\n"715 " [--recording on|off]\n" 716 " [--recording screens all|<screen ID> [<screen ID> ...]]\n" 717 " [--recording filename <filename>]\n" 718 " [--recording videores <width> <height>]\n" 719 " [--recording videorate <rate>]\n" 720 " [--recording videofps <fps>]\n" 721 " [--recording maxtime <s>]\n" 722 " [--recording maxfilesize <MB>]\n" 723 " [--recording opts <key=value> [,<key=value> ...]]\n" 724 724 #endif 725 725 " [--defaultfrontend default|<name>]\n" … … 832 832 " screenshotpng <file> [display] |\n" 833 833 #ifdef VBOX_WITH_RECORDING 834 " record on|off |\n"835 " record screens all|none|<screen>,[<screen>...] |\n"836 " record filename <file> |\n"837 " record videores <width>x<height> |\n"838 " record videorate <rate> |\n"839 " record videofps <fps> |\n"840 " record maxtime <s> |\n"841 " record maxfilesize <MB> |\n"834 " recording on|off |\n" 835 " recording screens all|none|<screen>,[<screen>...] |\n" 836 " recording filename <file> |\n" 837 " recording videores <width>x<height> |\n" 838 " recording videorate <rate> |\n" 839 " recording videofps <fps> |\n" 840 " recording maxtime <s> |\n" 841 " recording maxfilesize <MB> |\n" 842 842 #endif /* VBOX_WITH_RECORDING */ 843 843 " setcredentials <username>\n" -
trunk/src/VBox/Frontends/VBoxManage/VBoxManageModifyVM.cpp
r75361 r75365 215 215 #endif 216 216 #ifdef VBOX_WITH_RECORDING 217 MODIFYVM_RECORD ,218 MODIFYVM_RECORD _FEATURES,219 MODIFYVM_RECORD _SCREENS,220 MODIFYVM_RECORD _FILENAME,221 MODIFYVM_RECORD _VIDEO_WIDTH,222 MODIFYVM_RECORD _VIDEO_HEIGHT,223 MODIFYVM_RECORD _VIDEO_RES,224 MODIFYVM_RECORD _VIDEO_RATE,225 MODIFYVM_RECORD _VIDEO_FPS,226 MODIFYVM_RECORD _MAXTIME,227 MODIFYVM_RECORD _MAXSIZE,228 MODIFYVM_RECORD _OPTIONS,217 MODIFYVM_RECORDING, 218 MODIFYVM_RECORDING_FEATURES, 219 MODIFYVM_RECORDING_SCREENS, 220 MODIFYVM_RECORDING_FILENAME, 221 MODIFYVM_RECORDING_VIDEO_WIDTH, 222 MODIFYVM_RECORDING_VIDEO_HEIGHT, 223 MODIFYVM_RECORDING_VIDEO_RES, 224 MODIFYVM_RECORDING_VIDEO_RATE, 225 MODIFYVM_RECORDING_VIDEO_FPS, 226 MODIFYVM_RECORDING_MAXTIME, 227 MODIFYVM_RECORDING_MAXSIZE, 228 MODIFYVM_RECORDING_OPTIONS, 229 229 #endif 230 230 MODIFYVM_CHIPSET, … … 395 395 { "--chipset", MODIFYVM_CHIPSET, RTGETOPT_REQ_STRING }, 396 396 #ifdef VBOX_WITH_RECORDING 397 { "--record", MODIFYVM_RECORD, RTGETOPT_REQ_BOOL_ONOFF }, 398 { "--recordscreens", MODIFYVM_RECORD_SCREENS, RTGETOPT_REQ_STRING }, 399 { "--recordfile", MODIFYVM_RECORD_FILENAME, RTGETOPT_REQ_STRING }, 400 { "--recordmaxtime", MODIFYVM_RECORD_MAXTIME, RTGETOPT_REQ_INT32 }, 401 { "--recordmaxsize", MODIFYVM_RECORD_MAXSIZE, RTGETOPT_REQ_INT32 }, 402 { "--recordopts", MODIFYVM_RECORD_OPTIONS, RTGETOPT_REQ_STRING }, 403 { "--recordoptions", MODIFYVM_RECORD_OPTIONS, RTGETOPT_REQ_STRING }, 404 { "--recordvideores", MODIFYVM_RECORD_VIDEO_RES, RTGETOPT_REQ_STRING }, 405 { "--recordvideorate", MODIFYVM_RECORD_VIDEO_RATE, RTGETOPT_REQ_UINT32 }, 406 { "--recordvideofps", MODIFYVM_RECORD_VIDEO_FPS, RTGETOPT_REQ_UINT32 }, 397 { "--recording", MODIFYVM_RECORDING, RTGETOPT_REQ_BOOL_ONOFF }, 398 { "--recordingscreens", MODIFYVM_RECORDING_SCREENS, RTGETOPT_REQ_STRING }, 399 { "--recordingfile", MODIFYVM_RECORDING_FILENAME, RTGETOPT_REQ_STRING }, 400 { "--recordingmaxtime", MODIFYVM_RECORDING_MAXTIME, RTGETOPT_REQ_INT32 }, 401 { "--recordingmaxsize", MODIFYVM_RECORDING_MAXSIZE, RTGETOPT_REQ_INT32 }, 402 { "--recordingopts", MODIFYVM_RECORDING_OPTIONS, RTGETOPT_REQ_STRING }, 403 { "--recordingoptions", MODIFYVM_RECORDING_OPTIONS, RTGETOPT_REQ_STRING }, 404 { "--recordingvideores", MODIFYVM_RECORDING_VIDEO_RES, RTGETOPT_REQ_STRING }, 405 { "--recordingvideoresolution", MODIFYVM_RECORDING_VIDEO_RES, RTGETOPT_REQ_STRING }, 406 { "--recordingvideorate", MODIFYVM_RECORDING_VIDEO_RATE, RTGETOPT_REQ_UINT32 }, 407 { "--recordingvideofps", MODIFYVM_RECORDING_VIDEO_FPS, RTGETOPT_REQ_UINT32 }, 407 408 #endif 408 409 { "--autostart-enabled", MODIFYVM_AUTOSTART_ENABLED, RTGETOPT_REQ_BOOL_ONOFF }, … … 2928 2929 } 2929 2930 #ifdef VBOX_WITH_RECORDING 2930 case MODIFYVM_RECORD :2931 case MODIFYVM_RECORDING: 2931 2932 RT_FALL_THROUGH(); 2932 case MODIFYVM_RECORD _SCREENS:2933 case MODIFYVM_RECORDING_SCREENS: 2933 2934 RT_FALL_THROUGH(); 2934 case MODIFYVM_RECORD _FILENAME:2935 case MODIFYVM_RECORDING_FILENAME: 2935 2936 RT_FALL_THROUGH(); 2936 case MODIFYVM_RECORD _VIDEO_WIDTH:2937 case MODIFYVM_RECORDING_VIDEO_WIDTH: 2937 2938 RT_FALL_THROUGH(); 2938 case MODIFYVM_RECORD _VIDEO_HEIGHT:2939 case MODIFYVM_RECORDING_VIDEO_HEIGHT: 2939 2940 RT_FALL_THROUGH(); 2940 case MODIFYVM_RECORD _VIDEO_RES:2941 case MODIFYVM_RECORDING_VIDEO_RES: 2941 2942 RT_FALL_THROUGH(); 2942 case MODIFYVM_RECORD _VIDEO_RATE:2943 case MODIFYVM_RECORDING_VIDEO_RATE: 2943 2944 RT_FALL_THROUGH(); 2944 case MODIFYVM_RECORD _VIDEO_FPS:2945 case MODIFYVM_RECORDING_VIDEO_FPS: 2945 2946 RT_FALL_THROUGH(); 2946 case MODIFYVM_RECORD _MAXTIME:2947 case MODIFYVM_RECORDING_MAXTIME: 2947 2948 RT_FALL_THROUGH(); 2948 case MODIFYVM_RECORD _MAXSIZE:2949 case MODIFYVM_RECORDING_MAXSIZE: 2949 2950 RT_FALL_THROUGH(); 2950 case MODIFYVM_RECORD _OPTIONS:2951 case MODIFYVM_RECORDING_OPTIONS: 2951 2952 { 2952 2953 ComPtr<IRecordingSettings> recordingSettings; … … 2957 2958 switch (c) 2958 2959 { 2959 case MODIFYVM_RECORD :2960 case MODIFYVM_RECORDING: 2960 2961 { 2961 2962 CHECK_ERROR(recordingSettings, COMSETTER(Enabled)(ValueUnion.f)); 2962 2963 break; 2963 2964 } 2964 case MODIFYVM_RECORD _SCREENS:2965 case MODIFYVM_RECORDING_SCREENS: 2965 2966 { 2966 2967 ULONG cMonitors = 64; … … 2981 2982 break; 2982 2983 } 2983 case MODIFYVM_RECORD _FILENAME:2984 case MODIFYVM_RECORDING_FILENAME: 2984 2985 { 2985 2986 Bstr bstr; … … 3002 3003 break; 3003 3004 } 3004 case MODIFYVM_RECORD _VIDEO_WIDTH:3005 case MODIFYVM_RECORDING_VIDEO_WIDTH: 3005 3006 { 3006 3007 for (size_t i = 0; i < saRecordingScreenScreens.size(); ++i) … … 3008 3009 break; 3009 3010 } 3010 case MODIFYVM_RECORD _VIDEO_HEIGHT:3011 case MODIFYVM_RECORDING_VIDEO_HEIGHT: 3011 3012 { 3012 3013 for (size_t i = 0; i < saRecordingScreenScreens.size(); ++i) … … 3014 3015 break; 3015 3016 } 3016 case MODIFYVM_RECORD _VIDEO_RES:3017 case MODIFYVM_RECORDING_VIDEO_RES: 3017 3018 { 3018 3019 uint32_t uWidth = 0; … … 3041 3042 break; 3042 3043 } 3043 case MODIFYVM_RECORD _VIDEO_RATE:3044 case MODIFYVM_RECORDING_VIDEO_RATE: 3044 3045 { 3045 3046 for (size_t i = 0; i < saRecordingScreenScreens.size(); ++i) … … 3047 3048 break; 3048 3049 } 3049 case MODIFYVM_RECORD _VIDEO_FPS:3050 case MODIFYVM_RECORDING_VIDEO_FPS: 3050 3051 { 3051 3052 for (size_t i = 0; i < saRecordingScreenScreens.size(); ++i) … … 3053 3054 break; 3054 3055 } 3055 case MODIFYVM_RECORD _MAXTIME:3056 case MODIFYVM_RECORDING_MAXTIME: 3056 3057 { 3057 3058 for (size_t i = 0; i < saRecordingScreenScreens.size(); ++i) … … 3059 3060 break; 3060 3061 } 3061 case MODIFYVM_RECORD _MAXSIZE:3062 case MODIFYVM_RECORDING_MAXSIZE: 3062 3063 { 3063 3064 for (size_t i = 0; i < saRecordingScreenScreens.size(); ++i) … … 3065 3066 break; 3066 3067 } 3067 case MODIFYVM_RECORD _OPTIONS:3068 case MODIFYVM_RECORDING_OPTIONS: 3068 3069 { 3069 3070 Bstr bstr(ValueUnion.psz);
Note:
See TracChangeset
for help on using the changeset viewer.