1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 16:47:36 +00:00

LibVideo: Fix two comment typos

This commit is contained in:
Nico Weber 2022-12-26 08:26:09 -05:00 committed by Andrew Kaster
parent 352c1fec2d
commit 19d3821354
2 changed files with 2 additions and 2 deletions

View file

@ -557,7 +557,7 @@ static DecoderErrorOr<Block> parse_simple_block(Streamer& streamer, Time cluster
// timestamp of a Block or SimpleBlock in nanoseconds you have to use the following formula: // timestamp of a Block or SimpleBlock in nanoseconds you have to use the following formula:
// `( Cluster\Timestamp + ( block timestamp * TrackTimestampScale ) ) * TimestampScale` // `( Cluster\Timestamp + ( block timestamp * TrackTimestampScale ) ) * TimestampScale`
// //
// When a CodecDelay Element is set, its value MUST be substracted from each Block timestamp // When a CodecDelay Element is set, its value MUST be subtracted from each Block timestamp
// of that track. To get the timestamp in nanoseconds of the first frame in a Block or // of that track. To get the timestamp in nanoseconds of the first frame in a Block or
// SimpleBlock, the formula becomes: // SimpleBlock, the formula becomes:
// `( ( Cluster\Timestamp + ( block timestamp * TrackTimestampScale ) ) * TimestampScale ) - CodecDelay` // `( ( Cluster\Timestamp + ( block timestamp * TrackTimestampScale ) ) * TimestampScale ) - CodecDelay`

View file

@ -212,7 +212,7 @@ struct FrameBlockContext {
u8 segment_id { 0 }; u8 segment_id { 0 };
}; };
// Block context that is kept between frames until explictly cleared. // Block context that is kept between frames until explicitly cleared.
struct PersistentBlockContext { struct PersistentBlockContext {
PersistentBlockContext() PersistentBlockContext()
: available(false) : available(false)