[FFmpeg-devel] [PATCH 5/6] ffprobe: display loop points when applicable

Stefano Sabatini stefasab at gmail.com
Tue Dec 29 11:45:07 CET 2015


On date Tuesday 2015-06-16 17:28:17 -0500, Rodger Combs encoded:
> ---
>  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);

Missing changes in doc/ffprobe.xsd.

[...]
-- 
FFmpeg = Freak & Fundamental Multipurpose Puristic Empowered Ghost


More information about the ffmpeg-devel mailing list