VirtualBox

Ignore:
Timestamp:
Aug 16, 2012 9:21:09 AM (12 years ago)
Author:
vboxsync
Message:

Main/EncodeAndVideoRecording Module and API implementation: Integrating an independent encoding and video recording module that will serve all the frontends.
Introducing settings settings and API implementation for accessing and modifying video recording parameters:
->target video capture file
->video capture width
->video capture height
->enable video capturing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxManage/VBoxManageModifyVM.cpp

    r42551 r42838  
    3838#include <iprt/getopt.h>
    3939#include <VBox/log.h>
    40 
     40#include <iprt/log.h>
    4141#include "VBoxManage.h"
    4242
    4343#ifndef VBOX_ONLY_DOCS
    4444using namespace com;
    45 
    46 
     45#define LOG_GROUP LOG_GROUP_MAIN
    4746/** @todo refine this after HDD changes; MSC 8.0/64 has trouble with handleModifyVM.  */
    4847#if defined(_MSC_VER)
     
    192191    MODIFYVM_USBCARDREADER,
    193192#endif
    194     MODIFYVM_CHIPSET
     193    MODIFYVM_CHIPSET,
     194#ifdef VBOX_WITH_VPX
     195    MODIFYVM_VCP,
     196    MODIFYVM_VCP_FILENAME,
     197    MODIFYVM_VCP_WIDTH,
     198    MODIFYVM_VCP_HEIGHT
     199#endif
    195200};
    196201
     
    329334    { "--faulttolerancesyncinterval", MODIFYVM_FAULT_TOLERANCE_SYNC_INTERVAL, RTGETOPT_REQ_UINT32 },
    330335    { "--chipset",                  MODIFYVM_CHIPSET,                   RTGETOPT_REQ_STRING },
     336#ifdef VBOX_WITH_VPX
     337    { "--videocapture",             MODIFYVM_VCP    ,                   RTGETOPT_REQ_BOOL_ONOFF },
     338    { "--vcpfilename",              MODIFYVM_VCP_FILENAME,              RTGETOPT_REQ_STRING },
     339    { "--vcpwidth",                 MODIFYVM_VCP_WIDTH,                 RTGETOPT_REQ_UINT32 },
     340    { "--vcpheight",                MODIFYVM_VCP_HEIGHT,                RTGETOPT_REQ_UINT32 },
     341#endif
    331342    { "--autostart-enabled",        MODIFYVM_AUTOSTART_ENABLED,         RTGETOPT_REQ_BOOL_ONOFF },
    332343    { "--autostart-delay",          MODIFYVM_AUTOSTART_DELAY,           RTGETOPT_REQ_UINT32 },
     
    467478            case MODIFYVM_VRAM:
    468479            {
     480                LogFlow(("Modify VRANM\n"));
    469481                CHECK_ERROR(machine, COMSETTER(VRAMSize)(ValueUnion.u32));
    470482                break;
     
    23952407                break;
    23962408            }
     2409#ifdef VBOX_WITH_VPX
     2410            case MODIFYVM_VCP:
     2411            {
     2412                CHECK_ERROR(machine, COMSETTER(VideoCaptureEnabled)(ValueUnion.f));
     2413                break;
     2414            }
     2415            case MODIFYVM_VCP_FILENAME:
     2416            {
     2417                //CHECK_ERROR(machine, COMSETTER(VideoRecFilename)(ValueUnion.psz));
     2418                break;
     2419            }
     2420            case MODIFYVM_VCP_WIDTH:
     2421            {
     2422                CHECK_ERROR(machine, COMSETTER(VideoCaptureWidth)(ValueUnion.u32));
     2423                break;
     2424            }
     2425            case MODIFYVM_VCP_HEIGHT:
     2426            {
     2427                CHECK_ERROR(machine, COMSETTER(VideoCaptureHeight)(ValueUnion.u32));
     2428                break;
     2429            }
     2430#endif
    23972431            case MODIFYVM_AUTOSTART_ENABLED:
    23982432            {
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette