VirtualBox

Changeset 46667 in vbox for trunk/src/VBox/Frontends


Ignore:
Timestamp:
Jun 19, 2013 3:30:23 PM (12 years ago)
Author:
vboxsync
Message:

Main/idl: clarify IMachine.videoCaptureFile to be an absolute path, and many naming convention cleanups for method/attribute names starting with an uppercase letter or containing an acronym
Main/xml/Settings.cpp: clean up default video capture file handling and related path conversions, version handling of the new functionality
Main/Machine: handle default value for video capture file better, store relative path in settings if possible, cleanups
Main/src-client/VideoRec.cpp: do not overwrite a file ever
Main/Display: generate a unique name if there is a collision, matching cleanups for name changes
Frontends/VirtualBox: matching name changes
Frontends/VBoxManage: matching name changes, fixing the machine readable output

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

Legend:

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

    r46123 r46667  
    23152315        CHECK_ERROR_RET(machine, COMGETTER(VideoCaptureRate)(&Rate), rc);
    23162316        ULONG Fps;
    2317         CHECK_ERROR_RET(machine, COMGETTER(VideoCaptureFps)(&Fps), rc);
     2317        CHECK_ERROR_RET(machine, COMGETTER(VideoCaptureFPS)(&Fps), rc);
    23182318        Bstr File;
    23192319        CHECK_ERROR_RET(machine, COMGETTER(VideoCaptureFile)(File.asOutParam()), rc);
    23202320        if (details == VMINFO_MACHINEREADABLE)
    23212321        {
    2322             RTPrintf("VideoCaptureEnabled=\"%s\"\n", bActive ? "on" : "off");
    2323             RTPrintf("VideoCaptureScreens=");
     2322            RTPrintf("vcpenabled=\"%s\"\n", bActive ? "on" : "off");
     2323            RTPrintf("vcpscreens=");
    23242324            bool fComma = false;
    23252325            for (unsigned i = 0; i < screens.size(); i++)
     
    23302330                }
    23312331            RTPrintf("\n");
    2332             RTPrintf("VideoCaptureWidth=%u\n", (unsigned)Width);
    2333             RTPrintf("VideoCaptureFile=\"%ls\"\n", File.raw());
    2334             RTPrintf("VideoCaptureHeight=%u\n", (unsigned)Height);
    2335             RTPrintf("VideoCaptureRate=%u\n", (unsigned)Rate);
    2336             RTPrintf("VideoCaptureFps=%u\n", (unsigned)Fps);
     2332            RTPrintf("vcpfile=\"%ls\"\n", File.raw());
     2333            RTPrintf("vcpwidth=%u\n", (unsigned)Width);
     2334            RTPrintf("vcpheight=%u\n", (unsigned)Height);
     2335            RTPrintf("vcprate=%u\n", (unsigned)Rate);
     2336            RTPrintf("vcpfps=%u\n", (unsigned)Fps);
    23372337        }
    23382338        else
  • trunk/src/VBox/Frontends/VBoxManage/VBoxManageModifyVM.cpp

    r46658 r46667  
    25172517            case MODIFYVM_VCP_FPS:
    25182518            {
    2519                 CHECK_ERROR(machine, COMSETTER(VideoCaptureFps)(ValueUnion.u32));
     2519                CHECK_ERROR(machine, COMSETTER(VideoCaptureFPS)(ValueUnion.u32));
    25202520                break;
    25212521            }
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsDisplay.cpp

    r46622 r46667  
    119119    displayData.m_iVideoCaptureFrameWidth = m_machine.GetVideoCaptureWidth();
    120120    displayData.m_iVideoCaptureFrameHeight = m_machine.GetVideoCaptureHeight();
    121     displayData.m_iVideoCaptureFrameRate = m_machine.GetVideoCaptureFps();
     121    displayData.m_iVideoCaptureFrameRate = m_machine.GetVideoCaptureFPS();
    122122    displayData.m_iVideoCaptureBitRate = m_machine.GetVideoCaptureRate();
    123123    displayData.m_screens = m_machine.GetVideoCaptureScreens();
     
    275275                m_machine.SetVideoCaptureWidth(displayData.m_iVideoCaptureFrameWidth);
    276276                m_machine.SetVideoCaptureHeight(displayData.m_iVideoCaptureFrameHeight);
    277                 m_machine.SetVideoCaptureFps(displayData.m_iVideoCaptureFrameRate);
     277                m_machine.SetVideoCaptureFPS(displayData.m_iVideoCaptureFrameRate);
    278278                m_machine.SetVideoCaptureRate(displayData.m_iVideoCaptureBitRate);
    279279                m_machine.SetVideoCaptureScreens(displayData.m_screens);
     
    290290            m_machine.SetVideoCaptureWidth(displayData.m_iVideoCaptureFrameWidth);
    291291            m_machine.SetVideoCaptureHeight(displayData.m_iVideoCaptureFrameHeight);
    292             m_machine.SetVideoCaptureFps(displayData.m_iVideoCaptureFrameRate);
     292            m_machine.SetVideoCaptureFPS(displayData.m_iVideoCaptureFrameRate);
    293293            m_machine.SetVideoCaptureRate(displayData.m_iVideoCaptureBitRate);
    294294            m_machine.SetVideoCaptureScreens(displayData.m_screens);
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