VirtualBox

儲存庫 vbox 的更動 65307


忽略:
時間撮記:
2017-1-16 上午09:14:53 (8 年 以前)
作者:
vboxsync
訊息:

Main/EbmlWriter.cpp: Include VBox version + revision in the segment's WritingApp property.

檔案:
修改 1 筆資料

圖例:

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

    r65281 r65307  
    2020#include <stack>
    2121#include <iprt/asm.h>
     22#include <iprt/buildconfig.h>
    2223#include <iprt/cdefs.h>
    2324#include <iprt/err.h>
     
    2728
    2829#include <VBox/log.h>
     30#include <VBox/version.h>
    2931
    3032#include "EbmlWriter.h"
     
    723725        LogFunc(("Info @ %RU64\n", m_offSegInfoStart));
    724726
    725         char szVersion[64];
    726         RTStrPrintf(szVersion, sizeof(szVersion), "vpxenc%s", vpx_codec_version_str()); /** @todo Make this configurable? */
     727        char szMux[64];
     728        RTStrPrintf(szMux, sizeof(szMux), "vpxenc%s", vpx_codec_version_str());
     729
     730        char szApp[64];
     731        RTStrPrintf(szApp, sizeof(szApp), VBOX_PRODUCT " %sr%u\n", VBOX_VERSION_STRING, RTBldCfgRevision());
    727732
    728733        m_Ebml.subStart(Info)
    729734              .serializeUnsignedInteger(TimecodeScale, 1000000)
    730735              .serializeFloat(Segment_Duration, m_tsLastPtsMs + iFrameTime - m_tsInitialPtsMs)
    731               .serializeString(MuxingApp, szVersion)
    732               .serializeString(WritingApp, szVersion)
     736              .serializeString(MuxingApp, szMux)
     737              .serializeString(WritingApp, szApp)
    733738              .subEnd(Info);
    734739    }
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

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