summaryrefslogtreecommitdiffstats
path: root/demux/demux.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-07-12 22:12:31 +0200
committerwm4 <wm4@nowhere>2013-07-12 22:16:27 +0200
commit879c7a101b36674a952791d2f97cc38782052435 (patch)
treebf07900c02dde303c2c665c638f25b663cc95412 /demux/demux.h
parent6c414f8c7a66ce3bb0c2446cb7fb0fb802a9e98b (diff)
downloadmpv-879c7a101b36674a952791d2f97cc38782052435.tar.bz2
mpv-879c7a101b36674a952791d2f97cc38782052435.tar.xz
demux: assume correct-pts mode by default
All demuxers make a reasonable effort to set packet timestamps, and thus support correct-pts mode. This commit also implicitly switches demux_rawvideo to correct-pts mode. We still allow demuxers to disable correct-pts mode in theory.
Diffstat (limited to 'demux/demux.h')
-rw-r--r--demux/demux.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/demux/demux.h b/demux/demux.h
index 3f193fa72e..85ee738137 100644
--- a/demux/demux.h
+++ b/demux/demux.h
@@ -63,7 +63,7 @@ enum timestamp_type {
#define DEMUXER_CTRL_RESYNC 13
#define DEMUXER_CTRL_SWITCH_VIDEO 14
#define DEMUXER_CTRL_IDENTIFY_PROGRAM 15
-#define DEMUXER_CTRL_CORRECT_PTS 16
+#define DEMUXER_CTRL_CORRECT_PTS 16 // int* (write 1 for ok, 0 for no)
#define SEEK_ABSOLUTE (1 << 0)
#define SEEK_FACTOR (1 << 1)