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 /ffplay.c | |
parent | e77a3095bd7078cca9ee3a868fd0c4ed5bd72578 (diff) | |
download | ffmpeg-streaming-8f2a2e605165efcbb16c3470d48e61e4a53a0f94.zip ffmpeg-streaming-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.
Diffstat (limited to 'ffplay.c')
-rw-r--r-- | ffplay.c | 10 |
1 files changed, 0 insertions, 10 deletions
@@ -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", "" }, |