VirtualBox

Changeset 45776 in vbox for trunk/src/VBox/Main


Ignore:
Timestamp:
Apr 26, 2013 12:54:34 PM (12 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
85340
Message:

VPX: nits

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-client/DisplayImpl.cpp

    r45772 r45776  
    490490    if (fEnabled)
    491491    {
    492         ULONG ulVideoCaptureHorzRes;
    493         mParent->machine()->COMGETTER(VideoCaptureWidth)(&ulVideoCaptureHorzRes);
    494         ULONG ulVideoCaptureVertRes;
    495         mParent->machine()->COMGETTER(VideoCaptureHeight)(&ulVideoCaptureVertRes);
    496         BSTR strVideoCaptureFile;
    497         mParent->machine()->COMGETTER(VideoCaptureFile)(&strVideoCaptureFile);
    498         if (VideoRecContextInit(mpVideoRecContext, strVideoCaptureFile,
    499                                 ulVideoCaptureHorzRes, ulVideoCaptureVertRes))
     492        ULONG ulCaptWidth;
     493        mParent->machine()->COMGETTER(VideoCaptureWidth)(&ulCaptWidth);
     494        ULONG ulCaptHeight;
     495        mParent->machine()->COMGETTER(VideoCaptureHeight)(&ulCaptHeight);
     496        BSTR strCaptFile;
     497        mParent->machine()->COMGETTER(VideoCaptureFile)(&strCaptFile);
     498        if (VideoRecContextInit(mpVideoRecContext, strCaptFile, ulCaptWidth, ulCaptHeight))
    500499        {
    501500            LogFlow(("Failed to initialize video recording context!\n"));
    502501            return E_FAIL;
    503502        }
    504         LogFlow(("Vidoe recording VPX enabled!\n"));
     503        LogFlow(("Video recording as VPX with %lux%lu to '%ls' enabled!\n",
     504                  ulCaptWidth, ulCaptHeight, strCaptFile));
    505505    }
    506506#endif
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