lpms
lpms copied to clipboard
Correct NOPT timestamps
This PR:
- In case we get
AV_NOPTS_VALUEfor the decoded frame PTS, falls back to LibAV'sbest_effort_timestampor the last seen PTS + frame duration otherwise.
This PR definitely needs more testing and code review, but is put up here for brave guinea pigs in advance.