summaryrefslogtreecommitdiff
path: root/ffprobe.c
diff options
context:
space:
mode:
authorwm4 <nfxjfg@googlemail.com>2013-11-28 11:24:34 +0100
committerStefano Sabatini <stefasab@gmail.com>2013-12-15 10:46:46 +0100
commit5f6c21117f23a3c825777cdb0565a21c5a468d35 (patch)
tree4b56a3c9589bc3f9b34f7d3359d753c5cf6838e7 /ffprobe.c
parentcc0e2ba1aa93d5bdfe99386af63ad1c8d20079d8 (diff)
ffprobe: show best_effort_timestamp in the frame section
This is useful for debugging. Reference and ffprobe.xsd changes done and tested by Stefano Sabatini. Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
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 71e801f6eb..f882d25045 100644
--- a/ffprobe.c
+++ b/ffprobe.c
@@ -1725,6 +1725,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_ts ("best_effort_timestamp", av_frame_get_best_effort_timestamp(frame));
+ print_time("best_effort_timestamp_time", av_frame_get_best_effort_timestamp(frame), &stream->time_base);
print_duration_ts ("pkt_duration", av_frame_get_pkt_duration(frame));
print_duration_time("pkt_duration_time", av_frame_get_pkt_duration(frame), &stream->time_base);
if (av_frame_get_pkt_pos (frame) != -1) print_fmt ("pkt_pos", "%"PRId64, av_frame_get_pkt_pos(frame));