diff options
author | Dudemanguy <random342@airmail.cc> | 2023-09-19 23:37:51 -0500 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2023-09-21 16:06:29 +0000 |
commit | 36ea5d7b5cafabba605aaa334017c48b27d6f5be (patch) | |
tree | f38973892c8128d819d093f33a9fd194eb38a5d5 /audio | |
parent | 4b2276b730c8542649b665aaec187e1c7e3b2612 (diff) | |
download | mpv-36ea5d7b5cafabba605aaa334017c48b27d6f5be.tar.bz2 mpv-36ea5d7b5cafabba605aaa334017c48b27d6f5be.tar.xz |
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.
Diffstat (limited to 'audio')
-rw-r--r-- | audio/out/ao_lavc.c | 3 |
1 files changed, 0 insertions, 3 deletions
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; |