- Timestamp:
- Jan 31, 2017 1:44:29 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-client/EbmlWriter.cpp
r65435 r65541 770 770 #ifdef VBOX_WITH_LIBOPUS 771 771 /* Audio blocks that have same absolute timecode as video blocks SHOULD be written before the video blocks. */ 772 int writeBlockOpus(WebMTrack *a_pTrack, const void *pvData, size_t cbData )772 int writeBlockOpus(WebMTrack *a_pTrack, const void *pvData, size_t cbData, uint64_t uTimeStampMs) 773 773 { 774 774 AssertPtrReturn(a_pTrack, VERR_INVALID_POINTER); … … 776 776 AssertReturn(cbData, VERR_INVALID_PARAMETER); 777 777 778 RT_NOREF(uTimeStampMs); 779 778 780 WebMCluster &Cluster = CurSeg.CurCluster; 779 781 … … 788 790 Cluster.tcStart = tcPTS; 789 791 790 LogFunc(("tcPTSRaw=%RU64, tcPTS=%RU64, cbData=%RU64\n", tcPTSRaw, tcPTS, Cluster.cbData)); 792 LogFunc(("tcPTSRaw=%RU64, tcPTS=%RU64, cbData=%RU64, uTimeStampMs=%RU64\n", 793 tcPTSRaw, tcPTS, Cluster.cbData, uTimeStampMs)); 791 794 792 795 Cluster.tcLast = tcPTS; … … 873 876 Assert(cbData == sizeof(WebMWriter::BlockData_Opus)); 874 877 WebMWriter::BlockData_Opus *pData = (WebMWriter::BlockData_Opus *)pvData; 875 rc = writeBlockOpus(pTrack, pData->pvData, pData->cbData );878 rc = writeBlockOpus(pTrack, pData->pvData, pData->cbData, pData->uTimestampMs); 876 879 } 877 880 else
Note:
See TracChangeset
for help on using the changeset viewer.