summaryrefslogtreecommitdiff
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorTom Marecek <tom.marecek@accretivetg.com>2015-12-10 18:54:09 +0000
committerMichael Niedermayer <michael@niedermayer.cc>2015-12-11 13:39:21 +0100
commit46cbb4c2312c654c44a94054e870840913a80024 (patch)
tree19265e305b6323a4c18592dfc299407ed2017396 /ffmpeg.c
parent5e8b9e746fd58229e8a7ab1ced41918863f576ce (diff)
ffmpeg: change command line option -dump to work without -loglevel debug
-hex and -dump command line options do nothing unless -loglevel debug is set. -dump by itself is useful for monitoring live streams (to get the current PTS for example) however when it is used with -loglevel debug for an RTMP stream, librtmp also dumps the packet data which makes the output too noisy. do_pkt_dump is only set in check_keyboard_interaction or by the -dump command line option so this change should have no effect on any other parts of the code.. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index a866f72084..6ff45d98c0 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -3797,7 +3797,7 @@ static int process_input(int file_index)
reset_eagain();
if (do_pkt_dump) {
- av_pkt_dump_log2(NULL, AV_LOG_DEBUG, &pkt, do_hex_dump,
+ av_pkt_dump_log2(NULL, AV_LOG_INFO, &pkt, do_hex_dump,
is->streams[pkt.stream_index]);
}
/* the following test is needed in case new streams appear