From 98f5d4c30ca01884b54c1e15d36996eff5c69a44 Mon Sep 17 00:00:00 2001 From: wm4 Date: Tue, 8 Apr 2014 23:04:52 +0200 Subject: [PATCH] vd_lavc: by default, do not show corrupt frames This flips the default value. Use --vd-lavc-show-all=yes to revert. --- DOCS/man/en/options.rst | 2 +- options/options.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/DOCS/man/en/options.rst b/DOCS/man/en/options.rst index d9e3b983df..590844de28 100644 --- a/DOCS/man/en/options.rst +++ b/DOCS/man/en/options.rst @@ -2708,7 +2708,7 @@ OPTIONS ``--vd--lavc-o=debug=pict`` ``--vd-lavc-show-all=`` - Show even broken/corrupt frames (default: yes). If this option is set to + Show even broken/corrupt frames (default: no). If this option is set to no, libavcodec won't output frames that were either decoded before an initial keyframe was decoded, or frames that are recognized as corrupted. diff --git a/options/options.c b/options/options.c index 4dd9957e47..77d9205082 100644 --- a/options/options.c +++ b/options/options.c @@ -766,7 +766,7 @@ const struct MPOpts mp_default_opts = { .allow_mimetype = 1, }, .lavc_param = { - .show_all = 1, + .show_all = 0, .check_hw_profile = 1, }, .input = {