VirtualBox

Changeset 44153 in vbox


Ignore:
Timestamp:
Dec 18, 2012 5:32:13 PM (12 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
82846
Message:

Main/Machine: unconditionally disable video encoding, should mitigate the impact of the so far incorrect default setting

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-server/MachineImpl.cpp

    r44091 r44153  
    169169    mVideoCaptureWidth = 640;
    170170    mVideoCaptureHeight = 480;
    171     mVideoCaptureEnabled = true;
     171    mVideoCaptureEnabled = false;
    172172
    173173    mHWVirtExEnabled = true;
     
    16671667}
    16681668
    1669 STDMETHODIMP Machine::COMGETTER(VideoCaptureEnabled)(BOOL * fEnabled)
     1669STDMETHODIMP Machine::COMGETTER(VideoCaptureEnabled)(BOOL *fEnabled)
    16701670{
    16711671    AutoCaller autoCaller(this);
     
    16781678}
    16791679
    1680 STDMETHODIMP Machine::COMSETTER(VideoCaptureEnabled)(BOOL  fEnabled)
     1680STDMETHODIMP Machine::COMSETTER(VideoCaptureEnabled)(BOOL fEnabled)
    16811681{
    16821682    AutoCaller autoCaller(this);
     
    85278527        mHWData->mVideoCaptureWidth = data.ulVideoCaptureHorzRes;
    85288528        mHWData->mVideoCaptureHeight = data.ulVideoCaptureVertRes;
    8529         mHWData->mVideoCaptureEnabled = data.fVideoCaptureEnabled;
     8529        mHWData->mVideoCaptureEnabled = false; /* @todo r=klaus restore to data.fVideoCaptureEnabled */
    85308530        mHWData->mVideoCaptureFile = data.strVideoCaptureFile;
    85318531        mHWData->mFirmwareType = data.firmwareType;
     
    97379737        data.ulVideoCaptureHorzRes = mHWData->mVideoCaptureWidth;
    97389738        data.ulVideoCaptureVertRes = mHWData->mVideoCaptureHeight;
    9739         data.fVideoCaptureEnabled  = !! mHWData->mVideoCaptureEnabled;
     9739        data.fVideoCaptureEnabled  = !!mHWData->mVideoCaptureEnabled;
    97409740        data.strVideoCaptureFile = mHWData->mVideoCaptureFile;
    97419741
Note: See TracChangeset for help on using the changeset viewer.

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