VirtualBox

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


Ignore:
Timestamp:
Aug 17, 2012 12:06:25 PM (13 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
80130
Message:

main/VideoCaptureAndEncoding: Error checking, formatting. Still under testing and development

File:
1 edited

Legend:

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

    r42858 r42861  
    16961696STDMETHODIMP Machine::COMSETTER(VideoCaptureFile)(IN_BSTR aFile)
    16971697{
     1698    Utf8Str strFile(aFile);
    16981699    AutoCaller autoCaller(this);
    16991700    if (FAILED(autoCaller.rc())) return autoCaller.rc();
    17001701
    17011702    AutoWriteLock alock(this COMMA_LOCKVAL_SRC_POS);
    1702     mHWData->mVideoCaptureFile = aFile;
     1703    if(strFile.isEmpty())
     1704       strFile = "VideoCap.webm";
     1705    mHWData->mVideoCaptureFile = strFile;
    17031706    return S_OK;
    17041707}
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