[FFmpeg-cvslog] avplay: drop -vismv option which does not do anything anymore
Anton Khirnov
git at videolan.org
Fri Nov 1 18:32:50 CET 2013
ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Sun Oct 27 11:22:56 2013 +0100| [fae753af709537fc75ff1c4ce21fc1f4429af929] | committer: Anton Khirnov
avplay: drop -vismv option which does not do anything anymore
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=fae753af709537fc75ff1c4ce21fc1f4429af929
---
Changelog | 1 +
avplay.c | 9 ---------
doc/avplay.texi | 2 --
3 files changed, 1 insertion(+), 11 deletions(-)
diff --git a/Changelog b/Changelog
index 953cc4d..288e8c5 100644
--- a/Changelog
+++ b/Changelog
@@ -43,6 +43,7 @@ version 10:
- HNM version 4 demuxer and video decoder
- HEVC decoder
- raw HEVC, HEVC in MOV/MP4, HEVC in Matroska, HEVC in MPEG-TS demuxing
+- remove avplay -vismv option, which has not worked for a long time
version 9:
diff --git a/avplay.c b/avplay.c
index 00becbe..bb8c689 100644
--- a/avplay.c
+++ b/avplay.c
@@ -242,7 +242,6 @@ static int show_status = 1;
static int av_sync_type = AV_SYNC_AUDIO_MASTER;
static int64_t start_time = AV_NOPTS_VALUE;
static int64_t duration = AV_NOPTS_VALUE;
-static int debug_mv = 0;
static int step = 0;
static int workaround_bugs = 1;
static int fast = 0;
@@ -2036,7 +2035,6 @@ static int stream_component_open(VideoState *is, int stream_index)
opts = filter_codec_opts(codec_opts, avctx->codec_id, ic, ic->streams[stream_index], NULL);
codec = avcodec_find_decoder(avctx->codec_id);
- avctx->debug_mv = debug_mv;
avctx->workaround_bugs = workaround_bugs;
avctx->idct_algo = idct;
avctx->skip_frame = skip_frame;
@@ -2812,12 +2810,6 @@ static int opt_duration(void *optctx, const char *opt, const char *arg)
return 0;
}
-static int opt_vismv(void *optctx, const char *opt, const char *arg)
-{
- debug_mv = parse_number_or_die(opt, arg, OPT_INT64, INT_MIN, INT_MAX);
- return 0;
-}
-
static const OptionDef options[] = {
#include "cmdutils_common_opts.h"
{ "x", HAS_ARG, { .func_arg = opt_width }, "force displayed width", "width" },
@@ -2837,7 +2829,6 @@ static const OptionDef options[] = {
{ "pix_fmt", HAS_ARG | OPT_EXPERT | OPT_VIDEO, { .func_arg = opt_frame_pix_fmt }, "set pixel format", "format" },
{ "stats", OPT_BOOL | OPT_EXPERT, { &show_status }, "show status", "" },
{ "bug", OPT_INT | HAS_ARG | OPT_EXPERT, { &workaround_bugs }, "workaround bugs", "" },
- { "vismv", HAS_ARG | OPT_EXPERT, { .func_arg = opt_vismv }, "visualize motion vectors", "" },
{ "fast", OPT_BOOL | OPT_EXPERT, { &fast }, "non spec compliant optimizations", "" },
{ "genpts", OPT_BOOL | OPT_EXPERT, { &genpts }, "generate pts", "" },
{ "drp", OPT_INT | HAS_ARG | OPT_EXPERT, { &decoder_reorder_pts }, "let decoder reorder pts 0=off 1=on -1=auto", ""},
diff --git a/doc/avplay.texi b/doc/avplay.texi
index b856f9b..50142ab 100644
--- a/doc/avplay.texi
+++ b/doc/avplay.texi
@@ -78,8 +78,6 @@ Show the stream duration, the codec parameters, the current position in
the stream and the audio/video synchronisation drift.
@item -bug
Work around bugs.
- at item -vismv
-Visualize motion vectors.
@item -fast
Non-spec-compliant optimizations.
@item -genpts
More information about the ffmpeg-cvslog
mailing list