Changeset 68370 in vbox
- Timestamp:
- Aug 10, 2017 1:35:03 PM (7 years ago)
- File:
-
- 1 edited
-
trunk/src/VBox/Main/src-client/EbmlWriter.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-client/EbmlWriter.cpp
r68338 r68370 304 304 /** The block marks a key frame. */ 305 305 #define VBOX_WEBM_BLOCK_FLAG_KEY_FRAME 0x80 306 307 /** The default timecode scale factor for WebM -- all timecodes in the segments are expressed in ms. 308 * This allows every cluster to have blocks with positive values up to 32.767 seconds. */ 309 #define VBOX_WEBM_TIMECODESCALE_FACTOR_MS 1000000 306 310 307 311 class WebMWriter_Impl … … 431 435 , offCues(0) 432 436 { 433 /* This is the default for WebM -- all timecodes in the segments are expressed in ms. 434 * This allows every cluster to have blocks with positive values up to 32.767 seconds. */ 435 uTimecodeScaleFactor = 1000000; 436 //m_uTimecodeScaleFactor = lround(1000000000 /* ns */ / 48000); 437 uTimecodeScaleFactor = VBOX_WEBM_TIMECODESCALE_FACTOR_MS; 437 438 438 439 LogFunc(("Default timecode scale is: %RU64ns\n", uTimecodeScaleFactor)); 439 440 } 440 441 441 /** The timecode scale factor of this segment. 442 * By default this is 1000000, which is 1ms per timecode unit. */ 442 /** The timecode scale factor of this segment. */ 443 443 uint64_t uTimecodeScaleFactor; 444 444
Note:
See TracChangeset
for help on using the changeset viewer.

