summaryrefslogtreecommitdiffstats
path: root/video/out/vo_lavc.c
diff options
context:
space:
mode:
authorDudemanguy <random342@airmail.cc>2023-09-19 23:37:51 -0500
committerDudemanguy <random342@airmail.cc>2023-09-21 16:06:29 +0000
commit36ea5d7b5cafabba605aaa334017c48b27d6f5be (patch)
treef38973892c8128d819d093f33a9fd194eb38a5d5 /video/out/vo_lavc.c
parent4b2276b730c8542649b665aaec187e1c7e3b2612 (diff)
downloadmpv-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 'video/out/vo_lavc.c')
-rw-r--r--video/out/vo_lavc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/video/out/vo_lavc.c b/video/out/vo_lavc.c
index 74b5477be7..c3c8056c49 100644
--- a/video/out/vo_lavc.c
+++ b/video/out/vo_lavc.c
@@ -212,8 +212,6 @@ static void draw_frame(struct vo *vo, struct vo_frame *voframe)
outpts = pts + ectx->discontinuity_pts_offset;
}
- outpts += encoder_get_offset(enc);
-
if (!enc->options->rawts) {
// calculate expected pts of next video frame
double timeunit = av_q2d(avc->time_base);