Changeset 65181 in vbox for trunk/src/VBox/Frontends/VBoxManage/VBoxManageModifyVM.cpp
- Timestamp:
- Jan 6, 2017 10:58:46 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxManage/VBoxManageModifyVM.cpp
r63300 r65181 204 204 #endif 205 205 #ifdef VBOX_WITH_VPX 206 MODIFYVM_V CP,207 MODIFYVM_V CP_SCREENS,208 MODIFYVM_V CP_FILENAME,209 MODIFYVM_V CP_WIDTH,210 MODIFYVM_V CP_HEIGHT,211 MODIFYVM_V CP_RES,212 MODIFYVM_V CP_RATE,213 MODIFYVM_V CP_FPS,214 MODIFYVM_V CP_MAXTIME,215 MODIFYVM_V CP_MAXSIZE,216 MODIFYVM_V CP_OPTIONS,206 MODIFYVM_VIDEOCAP, 207 MODIFYVM_VIDEOCAP_SCREENS, 208 MODIFYVM_VIDEOCAP_FILENAME, 209 MODIFYVM_VIDEOCAP_WIDTH, 210 MODIFYVM_VIDEOCAP_HEIGHT, 211 MODIFYVM_VIDEOCAP_RES, 212 MODIFYVM_VIDEOCAP_RATE, 213 MODIFYVM_VIDEOCAP_FPS, 214 MODIFYVM_VIDEOCAP_MAXTIME, 215 MODIFYVM_VIDEOCAP_MAXSIZE, 216 MODIFYVM_VIDEOCAP_OPTIONS, 217 217 #endif 218 218 MODIFYVM_CHIPSET, … … 373 373 { "--chipset", MODIFYVM_CHIPSET, RTGETOPT_REQ_STRING }, 374 374 #ifdef VBOX_WITH_VPX 375 { "--videocap", MODIFYVM_V CP,RTGETOPT_REQ_BOOL_ONOFF },376 { "--vcpenabled", MODIFYVM_V CP,RTGETOPT_REQ_BOOL_ONOFF }, /* deprecated */377 { "--videocapscreens", MODIFYVM_V CP_SCREENS,RTGETOPT_REQ_STRING },378 { "--vcpscreens", MODIFYVM_V CP_SCREENS,RTGETOPT_REQ_STRING }, /* deprecated */379 { "--videocapfile", MODIFYVM_V CP_FILENAME,RTGETOPT_REQ_STRING },380 { "--vcpfile", MODIFYVM_V CP_FILENAME,RTGETOPT_REQ_STRING }, /* deprecated */381 { "--videocapres", MODIFYVM_V CP_RES,RTGETOPT_REQ_STRING },382 { "--vcpwidth", MODIFYVM_V CP_WIDTH,RTGETOPT_REQ_UINT32 }, /* deprecated */383 { "--vcpheight", MODIFYVM_V CP_HEIGHT,RTGETOPT_REQ_UINT32 }, /* deprecated */384 { "--videocaprate", MODIFYVM_V CP_RATE,RTGETOPT_REQ_UINT32 },385 { "--vcprate", MODIFYVM_V CP_RATE,RTGETOPT_REQ_UINT32 }, /* deprecated */386 { "--videocapfps", MODIFYVM_V CP_FPS,RTGETOPT_REQ_UINT32 },387 { "--vcpfps", MODIFYVM_V CP_FPS,RTGETOPT_REQ_UINT32 }, /* deprecated */388 { "--videocapmaxtime", MODIFYVM_V CP_MAXTIME,RTGETOPT_REQ_INT32 },389 { "--vcpmaxtime", MODIFYVM_V CP_MAXTIME,RTGETOPT_REQ_INT32 }, /* deprecated */390 { "--videocapmaxsize", MODIFYVM_V CP_MAXSIZE,RTGETOPT_REQ_INT32 },391 { "--vcpmaxsize", MODIFYVM_V CP_MAXSIZE,RTGETOPT_REQ_INT32 }, /* deprecated */392 { "--videocapopts", MODIFYVM_V CP_OPTIONS,RTGETOPT_REQ_STRING },393 { "--vcpoptions", MODIFYVM_V CP_OPTIONS,RTGETOPT_REQ_STRING }, /* deprecated */375 { "--videocap", MODIFYVM_VIDEOCAP, RTGETOPT_REQ_BOOL_ONOFF }, 376 { "--vcpenabled", MODIFYVM_VIDEOCAP, RTGETOPT_REQ_BOOL_ONOFF }, /* deprecated */ 377 { "--videocapscreens", MODIFYVM_VIDEOCAP_SCREENS, RTGETOPT_REQ_STRING }, 378 { "--vcpscreens", MODIFYVM_VIDEOCAP_SCREENS, RTGETOPT_REQ_STRING }, /* deprecated */ 379 { "--videocapfile", MODIFYVM_VIDEOCAP_FILENAME, RTGETOPT_REQ_STRING }, 380 { "--vcpfile", MODIFYVM_VIDEOCAP_FILENAME, RTGETOPT_REQ_STRING }, /* deprecated */ 381 { "--videocapres", MODIFYVM_VIDEOCAP_RES, RTGETOPT_REQ_STRING }, 382 { "--vcpwidth", MODIFYVM_VIDEOCAP_WIDTH, RTGETOPT_REQ_UINT32 }, /* deprecated */ 383 { "--vcpheight", MODIFYVM_VIDEOCAP_HEIGHT, RTGETOPT_REQ_UINT32 }, /* deprecated */ 384 { "--videocaprate", MODIFYVM_VIDEOCAP_RATE, RTGETOPT_REQ_UINT32 }, 385 { "--vcprate", MODIFYVM_VIDEOCAP_RATE, RTGETOPT_REQ_UINT32 }, /* deprecated */ 386 { "--videocapfps", MODIFYVM_VIDEOCAP_FPS, RTGETOPT_REQ_UINT32 }, 387 { "--vcpfps", MODIFYVM_VIDEOCAP_FPS, RTGETOPT_REQ_UINT32 }, /* deprecated */ 388 { "--videocapmaxtime", MODIFYVM_VIDEOCAP_MAXTIME, RTGETOPT_REQ_INT32 }, 389 { "--vcpmaxtime", MODIFYVM_VIDEOCAP_MAXTIME, RTGETOPT_REQ_INT32 }, /* deprecated */ 390 { "--videocapmaxsize", MODIFYVM_VIDEOCAP_MAXSIZE, RTGETOPT_REQ_INT32 }, 391 { "--vcpmaxsize", MODIFYVM_VIDEOCAP_MAXSIZE, RTGETOPT_REQ_INT32 }, /* deprecated */ 392 { "--videocapopts", MODIFYVM_VIDEOCAP_OPTIONS, RTGETOPT_REQ_STRING }, 393 { "--vcpoptions", MODIFYVM_VIDEOCAP_OPTIONS, RTGETOPT_REQ_STRING }, /* deprecated */ 394 394 #endif 395 395 { "--autostart-enabled", MODIFYVM_AUTOSTART_ENABLED, RTGETOPT_REQ_BOOL_ONOFF }, … … 2850 2850 } 2851 2851 #ifdef VBOX_WITH_VPX 2852 case MODIFYVM_V CP:2852 case MODIFYVM_VIDEOCAP: 2853 2853 { 2854 2854 CHECK_ERROR(sessionMachine, COMSETTER(VideoCaptureEnabled)(ValueUnion.f)); 2855 2855 break; 2856 2856 } 2857 case MODIFYVM_V CP_SCREENS:2857 case MODIFYVM_VIDEOCAP_SCREENS: 2858 2858 { 2859 2859 ULONG cMonitors = 64; … … 2869 2869 break; 2870 2870 } 2871 case MODIFYVM_V CP_FILENAME:2871 case MODIFYVM_VIDEOCAP_FILENAME: 2872 2872 { 2873 2873 Bstr bstr; … … 2888 2888 break; 2889 2889 } 2890 case MODIFYVM_V CP_WIDTH:2890 case MODIFYVM_VIDEOCAP_WIDTH: 2891 2891 { 2892 2892 CHECK_ERROR(sessionMachine, COMSETTER(VideoCaptureWidth)(ValueUnion.u32)); 2893 2893 break; 2894 2894 } 2895 case MODIFYVM_V CP_HEIGHT:2895 case MODIFYVM_VIDEOCAP_HEIGHT: 2896 2896 { 2897 2897 CHECK_ERROR(sessionMachine, COMSETTER(VideoCaptureHeight)(ValueUnion.u32)); 2898 2898 break; 2899 2899 } 2900 case MODIFYVM_V CP_RES:2900 case MODIFYVM_VIDEOCAP_RES: 2901 2901 { 2902 2902 uint32_t uWidth = 0; … … 2921 2921 break; 2922 2922 } 2923 case MODIFYVM_V CP_RATE:2923 case MODIFYVM_VIDEOCAP_RATE: 2924 2924 { 2925 2925 CHECK_ERROR(sessionMachine, COMSETTER(VideoCaptureRate)(ValueUnion.u32)); 2926 2926 break; 2927 2927 } 2928 case MODIFYVM_V CP_FPS:2928 case MODIFYVM_VIDEOCAP_FPS: 2929 2929 { 2930 2930 CHECK_ERROR(sessionMachine, COMSETTER(VideoCaptureFPS)(ValueUnion.u32)); 2931 2931 break; 2932 2932 } 2933 case MODIFYVM_V CP_MAXTIME:2933 case MODIFYVM_VIDEOCAP_MAXTIME: 2934 2934 { 2935 2935 CHECK_ERROR(sessionMachine, COMSETTER(VideoCaptureMaxTime)(ValueUnion.u32)); 2936 2936 break; 2937 2937 } 2938 case MODIFYVM_V CP_MAXSIZE:2938 case MODIFYVM_VIDEOCAP_MAXSIZE: 2939 2939 { 2940 2940 CHECK_ERROR(sessionMachine, COMSETTER(VideoCaptureMaxFileSize)(ValueUnion.u32)); 2941 2941 break; 2942 2942 } 2943 case MODIFYVM_V CP_OPTIONS:2943 case MODIFYVM_VIDEOCAP_OPTIONS: 2944 2944 { 2945 2945 Bstr bstr(ValueUnion.psz);
Note:
See TracChangeset
for help on using the changeset viewer.