VirtualBox

Changeset 42844 in vbox for trunk/src/VBox


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

Main/VideoEncodingAndCapture: Code improvement

Location:
trunk/src/VBox
Files:
3 edited

Legend:

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

    r42838 r42844  
    3838#include <iprt/getopt.h>
    3939#include <VBox/log.h>
    40 #include <iprt/log.h>
    4140#include "VBoxManage.h"
    4241
    4342#ifndef VBOX_ONLY_DOCS
    4443using namespace com;
    45 #define LOG_GROUP LOG_GROUP_MAIN
    4644/** @todo refine this after HDD changes; MSC 8.0/64 has trouble with handleModifyVM.  */
    4745#if defined(_MSC_VER)
     
    478476            case MODIFYVM_VRAM:
    479477            {
    480                 LogFlow(("Modify VRANM\n"));
    481478                CHECK_ERROR(machine, COMSETTER(VRAMSize)(ValueUnion.u32));
    482479                break;
  • trunk/src/VBox/Main/src-client/DisplayImpl.cpp

    r42838 r42844  
    5252  PVIDEORECCONTEXT pVideoRecContext;
    5353#endif
    54 #define DEBUG_sunlover
    5554/**
    5655 * Display driver instance data.
  • 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