VirtualBox

Changeset 45731 in vbox


Ignore:
Timestamp:
Apr 25, 2013 2:33:35 PM (12 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
85288
Message:

several fixes for video recording

Location:
trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/Config.kmk

    r45612 r45731  
    27502750endif
    27512751
    2752 #VPXLIB
    27532752SDK_VBOX_VPX       = .
    27542753if1of ($(KBUILD_TARGET), darwin linux os2 solaris)
     
    27572756     $(PATH_ROOT)/src/libs/libvpx/vp8 \
    27582757     $(PATH_ROOT)/src/libs/libvpx/vpx_mem
    2759 SDK_VBOX_VPX_LIBS ?= $(PATH_STAGE_BIN)/VBox-libvpx.so
    2760  else
    2761  SDK_VBOX_VPX_LIBS  ?= $(PATH_STAGE_BIN)/VBox-libvpx$(SUFF_DLL)
    2762 endif
    2763 
    2764 SDK_VBOX_BOOST        = .
    2765 SDK_VBOX_BOOST_DEFS  ?= BOOST_DISABLE_ASSERTS
    2766 SDK_VBOX_BOOST_INCS  ?= $(PATH_ROOT)/src/libs/boost-1.37.0
     2758 SDK_VBOX_VPX_LIBS ?= $(PATH_STAGE_BIN)/VBox-libvpx.so
     2759else
     2760 SDK_VBOX_VPX_LIBS ?= $(PATH_STAGE_BIN)/VBox-libvpx$(SUFF_DLL)
     2761endif
     2762
     2763SDK_VBOX_BOOST       = .
     2764SDK_VBOX_BOOST_DEFS ?= BOOST_DISABLE_ASSERTS
     2765SDK_VBOX_BOOST_INCS ?= $(PATH_ROOT)/src/libs/boost-1.37.0
    27672766
    27682767#
  • trunk/src/VBox/Frontends/VBoxManage/VBoxManageHelp.cpp

    r45674 r45731  
    367367                     "                            [--autostop-type disabled|savestate|poweroff|\n"
    368368                     "                                             acpishutdown]\n"
     369#endif
     370#ifdef VBOX_WITH_VPX
     371                     "                            [--vcpenabled on|off]\n"
     372                     "                            [--vcpfile <filename>]\n"
     373                     "                            [--vcpwidth <width>]\n"
     374                     "                            [--vcpheight <height>]\n"
    369375#endif
    370376                     "                            [--defaultfrontend default|<name]\n"
  • trunk/src/VBox/Main/Makefile.kmk

    r45518 r45731  
    566566VBoxC_DEFS.win.amd64 += _WIN32_WINNT=0x0510
    567567
     568VBoxC_SDKS = VBOX_LIBPNG VBOX_ZLIB
    568569ifdef VBOX_WITH_VPX
    569   VBoxC_SDKS =  VBOX_LIBPNG VBOX_ZLIB VBOX_VPX
    570 else
    571   VBoxC_SDKS =  VBOX_LIBPNG VBOX_ZLIB
     570  VBoxC_SDKS += VBOX_VPX
    572571endif
    573572
  • trunk/src/VBox/Main/src-client/DisplayImpl.cpp

    r45674 r45731  
    496496        BSTR strVideoCaptureFile;
    497497        mParent->machine()->COMGETTER(VideoCaptureFile)(&strVideoCaptureFile);
    498         LogFlow(("VidoeRecording VPX enabled\n"));
    499498        if (VideoRecContextInit(mpVideoRecContext, strVideoCaptureFile,
    500499                                ulVideoCaptureHorzRes, ulVideoCaptureVertRes))
    501500        {
    502             LogFlow(("Failed to initialize video recording context\n"));
     501            LogFlow(("Failed to initialize video recording context!\n"));
    503502            return E_FAIL;
    504503        }
     504        LogFlow(("Vidoe recording VPX enabled!\n"));
    505505    }
    506506#endif
  • trunk/src/VBox/Main/src-server/MachineImpl.cpp

    r45720 r45731  
    87758775        mHWData->mVideoCaptureWidth = data.ulVideoCaptureHorzRes;
    87768776        mHWData->mVideoCaptureHeight = data.ulVideoCaptureVertRes;
    8777         mHWData->mVideoCaptureEnabled = false; /* @todo r=klaus restore to data.fVideoCaptureEnabled */
     8777        mHWData->mVideoCaptureEnabled = data.fVideoCaptureEnabled;
    87788778        mHWData->mVideoCaptureFile = data.strVideoCaptureFile;
    87798779        mHWData->mFirmwareType = data.firmwareType;
  • trunk/src/VBox/Main/xml/Settings.cpp

    r45674 r45731  
    50825082    {
    50835083        // VirtualBox 4.1 adds PCI passthrough.
    5084         if (hardwareMachine.pciAttachments.size())
     5084        if (   hardwareMachine.pciAttachments.size()
     5085            || hardwareMachine.fVideoCaptureEnabled)
    50855086            m->sv = SettingsVersion_v1_12;
    50865087    }
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