From 9f72a9753e68c4064796f2361fb12492a85a8e0b Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 25 Nov 2013 23:13:01 +0100 Subject: demux: export dts from demux_lavf, use it for avi Having the DTS directly can be useful for restoring PTS values. The avi file format doesn't actually store PTS values, just DTS. An older hack explicitly exported the DTS as PTS (ignoring the [I assume] genpts generated non-sense PTS), which is not necessary anymore due to this change. --- demux/demux.h | 7 ------- 1 file changed, 7 deletions(-) (limited to 'demux/demux.h') diff --git a/demux/demux.h b/demux/demux.h index e025862bb2..6b08b84e4c 100644 --- a/demux/demux.h +++ b/demux/demux.h @@ -43,12 +43,6 @@ enum demuxer_type { DEMUXER_TYPE_CUE, }; -enum timestamp_type { - TIMESTAMP_TYPE_PTS, - TIMESTAMP_TYPE_SORT, -}; - - // DEMUXER control commands/answers #define DEMUXER_CTRL_NOTIMPL -1 #define DEMUXER_CTRL_DONTKNOW 0 @@ -174,7 +168,6 @@ typedef struct demuxer { bool accurate_seek; // File format allows PTS resets (even if the current file is without) bool ts_resets_possible; - enum timestamp_type timestamp_type; bool warned_queue_overflow; struct sh_stream **streams; -- cgit v1.2.3