summaryrefslogtreecommitdiffstats
path: root/video
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-06-28 14:42:06 +0200
committerwm4 <wm4@nowhere>2013-06-28 14:42:06 +0200
commit0435ab7131f1bb525a27263b355d341b6d4cf775 (patch)
tree5d52ef13002341e5876b7ad0948f843318b07f7f /video
parent398722c5a60b36e305d96cd78e5a92e02f43c4b8 (diff)
downloadmpv-0435ab7131f1bb525a27263b355d341b6d4cf775.tar.bz2
mpv-0435ab7131f1bb525a27263b355d341b6d4cf775.tar.xz
options: remove -lavdopts debug suboption
This can be set as avopt instead.
Diffstat (limited to 'video')
-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 540204bcfd..1f5ae68bbf 100644
--- a/video/decode/vd_lavc.c
+++ b/video/decode/vd_lavc.c
@@ -73,7 +73,6 @@ static void uninit(struct sh_video *sh);
#define OPT_BASE_STRUCT struct MPOpts
const m_option_t lavc_decode_opts_conf[] = {
- OPT_INTRANGE("debug", lavc_param.debug, 0, 0, 9999999),
OPT_FLAG_CONSTANTS("fast", lavc_param.fast, 0, 0, CODEC_FLAG2_FAST),
OPT_STRING("skiploopfilter", lavc_param.skip_loop_filter_str, 0),
OPT_STRING("skipidct", lavc_param.skip_idct_str, 0),
@@ -325,9 +324,6 @@ static void init_avctx(sh_video_t *sh, const char *decoder, struct hwdec *hwdec)
avctx->flags |= lavc_param->bitexact;
avctx->flags2 |= lavc_param->fast;
- avctx->debug = lavc_param->debug;
- if (lavc_param->debug)
- av_log_set_level(AV_LOG_DEBUG);
avctx->skip_loop_filter = str2AVDiscard(lavc_param->skip_loop_filter_str);
avctx->skip_idct = str2AVDiscard(lavc_param->skip_idct_str);
avctx->skip_frame = str2AVDiscard(lavc_param->skip_frame_str);