VirtualBox

Changeset 75489 in vbox


Ignore:
Timestamp:
Nov 15, 2018 4:25:42 PM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
126646
Message:

Recording/Main: Renamed RecordVideoRateControlMode -> RecordingVideoRateControlMode.

Location:
trunk/src/VBox/Main
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/idl/VirtualBox.xidl

    r75488 r75489  
    47984798
    47994799  <enum
    4800     name="RecordVideoRateControlMode"
    4801     uuid="11F99274-835F-4F2C-86A5-F8DF8999C21A"
     4800    name="RecordingVideoRateControlMode"
     4801    uuid="D4EFB692-9F98-4112-88D3-A16FBE2BF6A8"
    48024802    >
    48034803    <desc>
     
    48154815  <interface
    48164816    name="IRecordingScreenSettings" extends="$unknown"
    4817     uuid="41E56E39-C36D-440E-867B-FB80C4CE6FAA"
     4817    uuid="B036627B-9922-4056-8A95-94C60D3BA48A"
    48184818    wsmap="managed"
    48194819    >
     
    49724972    </attribute>
    49734973
    4974     <attribute name="videoRateControlMode" type="RecordVideoRateControlMode">
     4974    <attribute name="videoRateControlMode" type="RecordingVideoRateControlMode">
    49754975      <desc>
    49764976        Determines the rate control mode. This setting cannot be changed
  • trunk/src/VBox/Main/include/RecordingScreenSettingsImpl.h

    r75366 r75489  
    9595    HRESULT getVideoRate(ULONG *aVideoRate);
    9696    HRESULT setVideoRate(ULONG aVideoRate);
    97     HRESULT getVideoRateControlMode(RecordVideoRateControlMode_T *aMode);
    98     HRESULT setVideoRateControlMode(RecordVideoRateControlMode_T aMode);
     97    HRESULT getVideoRateControlMode(RecordingVideoRateControlMode_T *aMode);
     98    HRESULT setVideoRateControlMode(RecordingVideoRateControlMode_T aMode);
    9999    HRESULT getVideoFPS(ULONG *aVideoFPS);
    100100    HRESULT setVideoFPS(ULONG aVideoFPS);
  • trunk/src/VBox/Main/src-server/RecordingScreenSettingsImpl.cpp

    r75441 r75489  
    717717}
    718718
    719 HRESULT RecordingScreenSettings::getVideoRateControlMode(RecordVideoRateControlMode_T *aMode)
    720 {
    721     AutoCaller autoCaller(this);
    722     if (FAILED(autoCaller.rc())) return autoCaller.rc();
    723 
    724     AutoReadLock alock(this COMMA_LOCKVAL_SRC_POS);
    725 
    726     *aMode = RecordVideoRateControlMode_CBR; /** @todo Implement VBR. */
    727 
    728     return S_OK;
    729 }
    730 
    731 HRESULT RecordingScreenSettings::setVideoRateControlMode(RecordVideoRateControlMode_T aMode)
     719HRESULT RecordingScreenSettings::getVideoRateControlMode(RecordingVideoRateControlMode_T *aMode)
     720{
     721    AutoCaller autoCaller(this);
     722    if (FAILED(autoCaller.rc())) return autoCaller.rc();
     723
     724    AutoReadLock alock(this COMMA_LOCKVAL_SRC_POS);
     725
     726    *aMode = RecordingVideoRateControlMode_CBR; /** @todo Implement VBR. */
     727
     728    return S_OK;
     729}
     730
     731HRESULT RecordingScreenSettings::setVideoRateControlMode(RecordingVideoRateControlMode_T aMode)
    732732{
    733733    AutoCaller autoCaller(this);
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