diff options
author | Timo Rothenpieler <timo@rothenpieler.org> | 2020-05-01 23:42:56 +0200 |
---|---|---|
committer | Timo Rothenpieler <timo@rothenpieler.org> | 2020-05-02 01:33:49 +0200 |
commit | 9ce7de903882793749abc68eeb29813a19f50de5 (patch) | |
tree | 0ee94b14a8d2e225a0bbb6d32de242ee8e1c4ca7 /libavcodec/srtdec.c | |
parent | b9746fcbee8f7d73662cefbf8695f1ab47483bac (diff) | |
download | ffmpeg-9ce7de903882793749abc68eeb29813a19f50de5.tar.gz |
avcodec/nvenc: refactor dts calculation logic
The old approach used some highly complex delta computation math and
output-delaying.
I do not remember what the initial reasoning behind that was, but given
that we can just offset the dts by the amount of bframes, it seems wholy
unnecessary.
This leaves open an issue with VFR content, for which some more complex
logic might be needed.
Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
Diffstat (limited to 'libavcodec/srtdec.c')
0 files changed, 0 insertions, 0 deletions