mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 07:27:45 +00:00
LibVideo: Make Matroska Block and Cluster timestamps absolute
This commit is contained in:
parent
5c2cede2c9
commit
9040194d54
4 changed files with 15 additions and 16 deletions
|
@ -56,7 +56,7 @@ ErrorOr<int> serenity_main(Main::Arguments)
|
|||
return block_result.release_error();
|
||||
}
|
||||
auto block = block_result.release_value();
|
||||
outln("\t\tBlock at timestamp {}:", iterator.current_cluster().timestamp() + block.timestamp());
|
||||
outln("\t\tBlock at timestamp {}ms:", block.timestamp().to_milliseconds());
|
||||
outln("\t\t\tContains {} frames", block.frame_count());
|
||||
outln("\t\t\tLacing is {}", static_cast<u8>(block.lacing()));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue