diff options
author | Stefano Sabatini <stefasab@gmail.com> | 2012-09-08 13:00:13 +0200 |
---|---|---|
committer | Stefano Sabatini <stefasab@gmail.com> | 2012-09-12 10:22:29 +0200 |
commit | f9dd2e5e1a6c4012806001d9d4420825bb67bbb5 (patch) | |
tree | e1038de8d6d45268de71468b484ff83e2d135926 /ffprobe.c | |
parent | 0c5fe2f0dabfb4931e9663fa0c612df31554e67f (diff) | |
download | ffmpeg-f9dd2e5e1a6c4012806001d9d4420825bb67bbb5.tar.gz |
ffprobe: print start_pts and duration_ts stream information
Diffstat (limited to 'ffprobe.c')
-rw-r--r-- | ffprobe.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -1715,8 +1715,10 @@ static void show_stream(WriterContext *w, AVFormatContext *fmt_ctx, int stream_i print_q("r_frame_rate", stream->r_frame_rate, '/'); print_q("avg_frame_rate", stream->avg_frame_rate, '/'); print_q("time_base", stream->time_base, '/'); - print_time("start_time", stream->start_time, &stream->time_base); - print_time("duration", stream->duration, &stream->time_base); + print_ts ("start_pts", stream->start_time); + print_time("start_time", stream->start_time, &stream->time_base); + print_ts ("duration_ts", stream->duration); + print_time("duration", stream->duration, &stream->time_base); if (dec_ctx->bit_rate > 0) print_val ("bit_rate", dec_ctx->bit_rate, unit_bit_per_second_str); else print_str_opt("bit_rate", "N/A"); if (stream->nb_frames) print_fmt ("nb_frames", "%"PRId64, stream->nb_frames); |