diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2011-06-08 01:28:11 +0200 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2011-06-08 01:30:52 +0200 |
commit | 8f2a2e605165efcbb16c3470d48e61e4a53a0f94 (patch) | |
tree | 457358d26cfde33dc64b7cea658d6d60740104d5 | |
parent | e77a3095bd7078cca9ee3a868fd0c4ed5bd72578 (diff) | |
download | ffmpeg-8f2a2e605165efcbb16c3470d48e61e4a53a0f94.tar.gz |
ffplay: remove -debug option
The options -loglevel LEVEL -debug FLAGS can be used for achieving the
same objectives, with a finer level of control.
-rw-r--r-- | doc/ffplay.texi | 2 | ||||
-rw-r--r-- | ffplay.c | 10 |
2 files changed, 0 insertions, 12 deletions
diff --git a/doc/ffplay.texi b/doc/ffplay.texi index 0d12fd8ca5..f9f5e07cda 100644 --- a/doc/ffplay.texi +++ b/doc/ffplay.texi @@ -93,8 +93,6 @@ Set pixel format. @item -stats Show the stream duration, the codec parameters, the current position in the stream and the audio/video synchronisation drift. -@item -debug -Print specific debug info. @item -bug Work around bugs. @item -fast @@ -239,7 +239,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 = 0; static int step = 0; static int thread_count = 1; static int workaround_bugs = 1; @@ -2133,7 +2132,6 @@ static int stream_component_open(VideoState *is, int stream_index) if (!codec) return -1; - avctx->debug = debug; avctx->workaround_bugs = workaround_bugs; avctx->lowres = lowres; if(lowres) avctx->flags |= CODEC_FLAG_EMU_EDGE; @@ -2883,13 +2881,6 @@ static int opt_duration(const char *opt, const char *arg) return 0; } -static int opt_debug(const char *opt, const char *arg) -{ - av_log_set_level(99); - debug = parse_number_or_die(opt, arg, OPT_INT64, 0, INT_MAX); - return 0; -} - static int opt_thread_count(const char *opt, const char *arg) { thread_count= parse_number_or_die(opt, arg, OPT_INT64, 0, INT_MAX); @@ -2939,7 +2930,6 @@ static const OptionDef options[] = { { "f", HAS_ARG, {(void*)opt_format}, "force format", "fmt" }, { "pix_fmt", HAS_ARG | OPT_EXPERT | OPT_VIDEO, {(void*)opt_frame_pix_fmt}, "set pixel format", "format" }, { "stats", OPT_BOOL | OPT_EXPERT, {(void*)&show_status}, "show status", "" }, - { "debug", HAS_ARG | OPT_EXPERT, {(void*)opt_debug}, "print specific debug info", "" }, { "bug", OPT_INT | HAS_ARG | OPT_EXPERT, {(void*)&workaround_bugs}, "workaround bugs", "" }, { "fast", OPT_BOOL | OPT_EXPERT, {(void*)&fast}, "non spec compliant optimizations", "" }, { "genpts", OPT_BOOL | OPT_EXPERT, {(void*)&genpts}, "generate pts", "" }, |