VirtualBox

Changeset 42844 in vbox for trunk/src/VBox/Main/src-server


Ignore:
Timestamp:
Aug 16, 2012 12:24:54 PM (12 years ago)
Author:
vboxsync
Message:

Main/VideoEncodingAndCapture: Code improvement

File:
1 edited

Legend:

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

    r42843 r42844  
    16841684}
    16851685
    1686 STDMETHODIMP Machine::COMGETTER(VideoCaptureFile)(BSTR * ppChFile)
     1686STDMETHODIMP Machine::COMGETTER(VideoCaptureFile)(BSTR * apFile)
    16871687{
    16881688    AutoCaller autoCaller(this);
     
    16901690
    16911691    AutoReadLock alock(this COMMA_LOCKVAL_SRC_POS);
    1692     mHWData->mVideoCaptureFile.cloneTo(ppChFile);
    1693     return S_OK;
    1694 }
    1695 
    1696 STDMETHODIMP Machine::COMSETTER(VideoCaptureFile)(IN_BSTR pChFile)
     1692    mHWData->mVideoCaptureFile.cloneTo(apFile);
     1693    return S_OK;
     1694}
     1695
     1696STDMETHODIMP Machine::COMSETTER(VideoCaptureFile)(IN_BSTR aFile)
    16971697{
    16981698    AutoCaller autoCaller(this);
     
    17001700
    17011701    AutoWriteLock alock(this COMMA_LOCKVAL_SRC_POS);
    1702     mHWData->mVideoCaptureFile = pChFile;
     1702    mHWData->mVideoCaptureFile = aFile;
    17031703    return S_OK;
    17041704}
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