summaryrefslogtreecommitdiffstats
path: root/video/decode
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2017-12-25 11:43:04 +0100
committerKevin Mitchell <kevmitch@gmail.com>2017-12-25 04:06:17 -0700
commit69ae23fdd1e39f4e7aa30082e36cc635d954bccf (patch)
tree2a1698c9be86ae82ea234eb6fb05eaa57b685101 /video/decode
parent31718c48ce4ceb9515fa678c01f45a5ec057f379 (diff)
downloadmpv-69ae23fdd1e39f4e7aa30082e36cc635d954bccf.tar.bz2
mpv-69ae23fdd1e39f4e7aa30082e36cc635d954bccf.tar.xz
options: drop some previously deprecated options
A release has been made, so drop options deprecated for that release. Also drop some options which have been deprecated a much longer time before. Also fix a typo in client-api-changes.rst.
Diffstat (limited to 'video/decode')
-rw-r--r--video/decode/vd_lavc.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/video/decode/vd_lavc.c b/video/decode/vd_lavc.c
index 6d92702cb8..a6dd50597a 100644
--- a/video/decode/vd_lavc.c
+++ b/video/decode/vd_lavc.c
@@ -738,10 +738,6 @@ static int init_generic_hwaccel(struct dec_video *vd, enum AVPixelFormat hw_fmt)
AVHWFramesContext *new_fctx = (void *)new_frames_ctx->data;
-#if LIBAVCODEC_VERSION_MICRO >= 100
- if (ctx->hwdec.pix_fmt == AV_PIX_FMT_VIDEOTOOLBOX)
- new_fctx->sw_format = imgfmt2pixfmt(vd->opts->videotoolbox_format);
-#endif
if (vd->opts->hwdec_image_format)
new_fctx->sw_format = imgfmt2pixfmt(vd->opts->hwdec_image_format);