From 36ea5d7b5cafabba605aaa334017c48b27d6f5be Mon Sep 17 00:00:00 2001 From: Dudemanguy Date: Tue, 19 Sep 2023 23:37:51 -0500 Subject: options: remove a few options marked with .deprecation_message A bit different from the OPT_REPLACED/OPT_REMOVED ones in that the options still possibly do something but they have a deprecation message. Most of these are old and have no real usage. The only potentially controversial ones are the removal of --oaffset and --ovoffset which were deprecated years ago and seemingly have no real replacement. There's a cryptic message about --audio-delay but who knows. The less encoding mode code we have, the better so just chuck it. --- audio/out/ao_lavc.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'audio') diff --git a/audio/out/ao_lavc.c b/audio/out/ao_lavc.c index 84cb32b25a..0f176cb54e 100644 --- a/audio/out/ao_lavc.c +++ b/audio/out/ao_lavc.c @@ -280,9 +280,6 @@ static bool audio_write(struct ao *ao, void **data, int samples) outpts = pts + ectx->discontinuity_pts_offset; } - // Shift pts by the pts offset first. - outpts += encoder_get_offset(ac->enc); - // Calculate expected pts of next audio frame (input side). ac->expected_next_pts = pts + mp_aframe_get_size(af) / (double) ao->samplerate; -- cgit v1.2.3