diff options
author | Dave Rice <dave@dericed.com> | 2015-05-25 20:46:12 -0400 |
---|---|---|
committer | Stefano Sabatini <stefasab@gmail.com> | 2015-05-27 11:19:19 +0200 |
commit | 09ec31ce3aab41407965e7a95b7d145702434c26 (patch) | |
tree | 8a0a6f94550c79fec2d4270a4c0eeb190d286289 /ffprobe.c | |
parent | c312bfac4c8ac1ac55d6648fd6eb36db436100f3 (diff) | |
download | ffmpeg-09ec31ce3aab41407965e7a95b7d145702434c26.tar.gz |
ffprobe: print stream_index with frame data
This makes it easier to relate frame data to its associated stream.
Diffstat (limited to 'ffprobe.c')
-rw-r--r-- | ffprobe.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1824,6 +1824,7 @@ static void show_frame(WriterContext *w, AVFrame *frame, AVStream *stream, s = av_get_media_type_string(stream->codec->codec_type); if (s) print_str ("media_type", s); else print_str_opt("media_type", "unknown"); + print_int("stream_index", stream->index); print_int("key_frame", frame->key_frame); print_ts ("pkt_pts", frame->pkt_pts); print_time("pkt_pts_time", frame->pkt_pts, &stream->time_base); |