mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-02 15:46:33 +00:00
LibVideo: Fix two comment typos
This commit is contained in:
parent
352c1fec2d
commit
19d3821354
Notes:
sideshowbarker
2024-07-17 11:29:41 +09:00
Author: https://github.com/nico
Commit: 19d3821354
Pull-request: https://github.com/SerenityOS/serenity/pull/16671
Reviewed-by: https://github.com/ADKaster ✅
2 changed files with 2 additions and 2 deletions
|
@ -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`
|
||||||
|
|
|
@ -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)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue