Changeset 75077 in vbox for trunk/src/VBox/Main/src-client
- Timestamp:
- Oct 25, 2018 2:44:05 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-client/DrvAudioVideoRec.cpp
r75011 r75077 776 776 777 777 if (pStreamAV->uLastPTSMs == 0) 778 pStreamAV->uLastPTSMs = RTTime MilliTS() - pSink->tsStartMs;778 pStreamAV->uLastPTSMs = RTTimeProgramMilliTS(); /* We want the absolute time (in ms) since program start. */ 779 779 780 780 const uint64_t uDurationMs = pSink->Codec.Opus.msFrame * cEncFrames; 781 const uint64_t uPTSMs = pStreamAV->uLastPTSMs + uDurationMs;781 const uint64_t uPTSMs = pStreamAV->uLastPTSMs; 782 782 783 783 pStreamAV->uLastPTSMs += uDurationMs;
Note:
See TracChangeset
for help on using the changeset viewer.