VirtualBox

忽略:
時間撮記:
2013-6-19 下午03:30:23 (11 年 以前)
作者:
vboxsync
訊息:

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

檔案:
修改 1 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/VBox/Main/src-client/VideoRec.cpp

    r46578 r46667  
    474474    AssertReturn(pStrm->pu8RgbBuf, VERR_NO_MEMORY);
    475475
     476    /* Play safe: the file must not exist, overwriting is potentially
     477     * hazardous as nothing prevents the user from picking a file name of some
     478     * other important file, causing unintentional data loss. */
    476479    int rc = RTFileOpen(&pStrm->Ebml.file, pszFile,
    477                         RTFILE_O_CREATE_REPLACE | RTFILE_O_WRITE | RTFILE_O_DENY_NONE);
     480                        RTFILE_O_CREATE | RTFILE_O_WRITE | RTFILE_O_DENY_NONE);
    478481    if (RT_FAILURE(rc))
    479482    {
    480         LogFlow(("Failed to open the video capture output File (%Rrc)\n", rc));
     483        LogRel(("Failed to create the video capture output file \"%s\" (%Rrc)\n", pszFile, rc));
    481484        return rc;
    482485    }
     
    500503    /* disable multithreading */
    501504    pStrm->VpxConfig.g_threads = 0;
    502 //    pStrm->VpxConfig.kf_max_dist = 1;
     505
    503506    pStrm->uDelay = 1000 / uFps;
    504507
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette