From 02f9087de9103784a236f50d4b0990069ae9cf1e Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 12 Feb 2018 18:00:23 +0100 Subject: audio: move back PTS jump detection to before filter chain The recent changes to player/audio.c moved PTS jump detection to after audio filtering. This was mostly done for convenience, because dataflow between decoder and filters was made "automatic", and jump detection would have to be done as filter. Now move it back to after decoders, again out of convenience. The future direction is to make the dataflow between filters and AO automatic, so this is a bit in the way. Another reason is that speed changes tend to cause jumps - these are legitimate, but get annoying quickly. --- player/core.h | 1 - 1 file changed, 1 deletion(-) (limited to 'player/core.h') diff --git a/player/core.h b/player/core.h index 104d26cd48..27696e8f06 100644 --- a/player/core.h +++ b/player/core.h @@ -187,7 +187,6 @@ struct ao_chain { struct mp_log *log; bool spdif_passthrough, spdif_failed; - bool pts_reset; struct mp_output_chain *filter; -- cgit v1.2.3