mirror of
https://github.com/mpv-player/mpv
synced 2024-11-14 22:48:35 +01:00
6b0b8368a4
Set _DurationNum/_DurationDen on each VS frame, instead of _AbsoluteTime. The duration is the difference between the timestamp of the frame and the next frame, and when receiving filtered VS frames, we convert them back to an absolute PTS by summing them. We pass the timestamps with microsecond resolution. mpv uses double for timestamps internally, so we don't know the "real" timebase or FPS. VS on the other hand uses fractions for frame durations. We can't pass through the numbers exactly, but microseconds ought to be enough to be even safe from accumulating rounding errors. |
||
---|---|---|
.. | ||
client_api_examples | ||
lua_examples | ||
man/en | ||
coding-style.md | ||
crosscompile-mingw.md | ||
edl-mpv.rst | ||
encoding.rst | ||
tech-overview.txt | ||
waf-buildsystem.rst |