summaryrefslogtreecommitdiff
path: root/ffprobe.c
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2012-03-08 15:26:57 +0100
committerStefano Sabatini <stefasab@gmail.com>2012-06-06 23:26:04 +0200
commit8d1de449f0062682f8562fc0a96b13dfaa3723e7 (patch)
tree7972964eca3eea46a5fadcc58c05b177df887ff7 /ffprobe.c
parent9083d09ebbbb3bfe5d9ad5696af918fdb2454cfb (diff)
downloadffmpeg-8d1de449f0062682f8562fc0a96b13dfaa3723e7.tar.gz
ffprobe: show packet duration in frame
Diffstat (limited to 'ffprobe.c')
-rw-r--r--ffprobe.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ffprobe.c b/ffprobe.c
index b649c5f1cb..b87059ebb7 100644
--- a/ffprobe.c
+++ b/ffprobe.c
@@ -1567,6 +1567,8 @@ static void show_frame(WriterContext *w, AVFrame *frame, AVStream *stream)
print_time("pkt_pts_time", frame->pkt_pts, &stream->time_base);
print_ts ("pkt_dts", frame->pkt_dts);
print_time("pkt_dts_time", frame->pkt_dts, &stream->time_base);
+ print_duration_ts ("pkt_duration", frame->pkt_duration);
+ print_duration_time("pkt_duration_time", frame->pkt_duration, &stream->time_base);
if (frame->pkt_pos != -1) print_fmt ("pkt_pos", "%"PRId64, frame->pkt_pos);
else print_str_opt("pkt_pos", "N/A");