projects
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea02862
)
Make debug work early on ffplay
author
Luca Barbato
<lu_zero@gentoo.org>
Sun, 25 Jun 2006 16:12:27 +0000
(16:12 +0000)
committer
Luca Barbato
<lu_zero@gentoo.org>
Sun, 25 Jun 2006 16:12:27 +0000
(16:12 +0000)
Originally committed as revision 5525 to svn://svn.ffmpeg.org/ffmpeg/trunk
ffplay.c
patch
|
blob
|
blame
|
history
diff --git
a/ffplay.c
b/ffplay.c
index
7dc5c60
..
bbc4ad3
100644
(file)
--- a/
ffplay.c
+++ b/
ffplay.c
@@
-1606,8
+1606,6
@@
static int stream_component_open(VideoState *is, int stream_index)
codec = avcodec_find_decoder(enc->codec_id);
enc->debug_mv = debug_mv;
enc->debug = debug;
- if(debug)
- av_log_set_level(AV_LOG_DEBUG);
enc->workaround_bugs = workaround_bugs;
enc->lowres = lowres;
if(lowres) enc->flags |= CODEC_FLAG_EMU_EDGE;
@@
-2319,6
+2317,7
@@
void opt_seek(const char *arg)
static void opt_debug(const char *arg)
{
+ av_log_set_level(atoi(arg));
debug = atoi(arg);
}