path: root/DOCS
diff options
authorwm4 <wm4@nowhere>2013-11-25 23:13:46 +0100
committerwm4 <wm4@nowhere>2013-11-25 23:13:46 +0100
commit8743d3fbfafe51a7aa3847663f6f6120438eb772 (patch)
treeb6a09c58bd68cf1ac0fd26a2391f93b341b1b14d /DOCS
parent9f72a9753e68c4064796f2361fb12492a85a8e0b (diff)
demux_lavf: disable genpts by default, remove the builtin genpts hack
This was needed to determine PTS from DTS, but the previous commits make it unnecessary. The builtin genpts hack was used for DVD, because libavformat's genpts essentially went amok on DVD timestamp resets. See commit 65d87091 for details.
Diffstat (limited to 'DOCS')
1 files changed, 4 insertions, 8 deletions
diff --git a/DOCS/man/en/options.rst b/DOCS/man/en/options.rst
index 386f0fdf76..02be5b86f4 100644
--- a/DOCS/man/en/options.rst
+++ b/DOCS/man/en/options.rst
@@ -627,15 +627,11 @@ OPTIONS
Force a specific libavformat demuxer.
Mode for deriving missing packet PTS values from packet DTS. ``lavf``
- enables libavformat's ``genpts`` option. ``builtin`` enables equivalent
- code in mpv. ``auto`` will enable either lavf (normal playback) or builtin
- (DVD playback) in correct-pts mode. The difference between them is that
- the builtin code will not potentially read until EOF trying to derive the
- PTS (which is very bad for DVD playback). On the other hand, builtin might
- give up too early, which is why lavf is preferred normally. ``no`` disables
- both.
+ enables libavformat's ``genpts`` option. ``no`` disables it. This used
+ to be enabled by default, but then it was deemed as not needed anymore.
+ Enabling this might help with timestamp problems, or make them worse.
Pass AVOptions to libavformat demuxer.