[FFmpeg-devel] [PATCH 11/15] ffprobe: display loop points when applicable
Rodger Combs
rodger.combs at gmail.com
Sat Jun 20 12:01:23 CEST 2015
---
ffprobe.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/ffprobe.c b/ffprobe.c
index 3e5324e..d54eb87 100644
--- a/ffprobe.c
+++ b/ffprobe.c
@@ -2436,6 +2436,10 @@ static int show_format(WriterContext *w, AVFormatContext *fmt_ctx)
}
print_time("start_time", fmt_ctx->start_time, &AV_TIME_BASE_Q);
print_time("duration", fmt_ctx->duration, &AV_TIME_BASE_Q);
+ if (fmt_ctx->loop_start != AV_NOPTS_VALUE)
+ print_time("loop_start", fmt_ctx->loop_start, &AV_TIME_BASE_Q);
+ if (fmt_ctx->loop_end != AV_NOPTS_VALUE)
+ print_time("loop_end", fmt_ctx->loop_end, &AV_TIME_BASE_Q);
if (size >= 0) print_val ("size", size, unit_byte_str);
else print_str_opt("size", "N/A");
if (fmt_ctx->bit_rate > 0) print_val ("bit_rate", fmt_ctx->bit_rate, unit_bit_per_second_str);
--
2.4.1
More information about the ffmpeg-devel
mailing list