diff options
author | Sasi Inguva <isasi-at-google.com@ffmpeg.org> | 2016-09-15 13:36:19 -0700 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2016-09-23 23:09:23 +0200 |
commit | 6a2cbf901461c4d2766618343e6f57739500393d (patch) | |
tree | 258b5f38a41b28ef66285119a837fb2ba6d8cd0d /ffprobe.c | |
parent | 4a3b41bed0d11f0c5a8a6d5d6fa2ce1cfe6669b8 (diff) | |
download | ffmpeg-6a2cbf901461c4d2766618343e6f57739500393d.tar.gz |
ffprobe.c: Indicate decode-but-discard packets when doing -show_packets.
Signed-off-by: Sasi Inguva <isasi@google.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'ffprobe.c')
-rw-r--r-- | ffprobe.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1815,7 +1815,8 @@ static void show_packet(WriterContext *w, InputFile *ifile, AVPacket *pkt, int p print_val("size", pkt->size, unit_byte_str); if (pkt->pos != -1) print_fmt ("pos", "%"PRId64, pkt->pos); else print_str_opt("pos", "N/A"); - print_fmt("flags", "%c", pkt->flags & AV_PKT_FLAG_KEY ? 'K' : '_'); + print_fmt("flags", "%c%c", pkt->flags & AV_PKT_FLAG_KEY ? 'K' : '_', + pkt->flags & AV_PKT_FLAG_DISCARD ? 'D' : '_'); if (pkt->side_data_elems) { int size; |