From 8e654d3f78f95b0e3a5a41d41e1e8cafd8f365ec Mon Sep 17 00:00:00 2001 From: wm4 Date: Tue, 6 Oct 2015 17:55:15 +0200 Subject: video: remove user-controllable PTS sorting (--pts-association-mode) Useless. Sometimes it might be useful to make some extremely broken files work, but on the other hand --no-correct-pts is sufficient for these cases. While we still need some of the code for AVI, the "auto" mode in particular inflated the size of the code. --- video/decode/dec_video.h | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'video/decode/dec_video.h') diff --git a/video/decode/dec_video.h b/video/decode/dec_video.h index 69e2a44e40..d40405afb9 100644 --- a/video/decode/dec_video.h +++ b/video/decode/dec_video.h @@ -55,14 +55,9 @@ struct dec_video { double codec_dts; int num_codec_dts_problems; - // PTS sorting (obscure, non-default) + // PTS sorting (needed for AVI-style timestamps) double buffered_pts[32]; int num_buffered_pts; - double sorted_pts; - int num_sorted_pts_problems; - double unsorted_pts; - int num_unsorted_pts_problems; - int pts_assoc_mode; // PTS or DTS of packet last read double last_packet_pdts; -- cgit v1.2.3