VirtualBox

Changeset 52312 in vbox for trunk/src/VBox/Main/xml


Ignore:
Timestamp:
Aug 7, 2014 12:54:38 PM (11 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
95429
Message:

6219: New parameters related to file size / recording time limitation for VM Video Capture have been added (vcpmaxtime, vcpmaxsize and vcpoptions - special codec options in key=value format). EbmlWriter has been refactored. Removed some redundant code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/xml/Settings.cpp

    r51476 r52312  
    19201920          ulVideoCaptureRate(512),
    19211921          ulVideoCaptureFPS(25),
     1922          ulVideoCaptureMaxTime(0),
     1923          ulVideoCaptureMaxSize(0),
    19221924          fVideoCaptureEnabled(false),
    19231925          u64VideoCaptureScreens(UINT64_C(0xffffffffffffffff)),
     
    19982000                  && (ulVideoCaptureRate        == h.ulVideoCaptureRate)
    19992001                  && (ulVideoCaptureFPS         == h.ulVideoCaptureFPS)
     2002                  && (ulVideoCaptureMaxTime     == h.ulVideoCaptureMaxTime)
     2003                  && (ulVideoCaptureMaxSize     == h.ulVideoCaptureMaxTime)
    20002004                  && (firmwareType              == h.firmwareType)
    20012005                  && (pointingHIDType           == h.pointingHIDType)
     
    29372941            pelmHwChild->getAttributeValue("rate",      hw.ulVideoCaptureRate);
    29382942            pelmHwChild->getAttributeValue("fps",       hw.ulVideoCaptureFPS);
     2943            pelmHwChild->getAttributeValue("maxTime",   hw.ulVideoCaptureMaxTime);
     2944            pelmHwChild->getAttributeValue("maxSize",   hw.ulVideoCaptureMaxSize);
    29392945        }
    29402946        else if (pelmHwChild->nameEquals("RemoteDisplay"))
     
    42274233        pelmVideoCapture->setAttribute("rate",      hw.ulVideoCaptureRate);
    42284234        pelmVideoCapture->setAttribute("fps",       hw.ulVideoCaptureFPS);
     4235        pelmVideoCapture->setAttribute("maxTime",   hw.ulVideoCaptureMaxTime);
     4236        pelmVideoCapture->setAttribute("maxSize",   hw.ulVideoCaptureMaxSize);
    42294237    }
    42304238
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