[FFmpeg-devel] [PATCH] ffprobe: print array element sections to separate lines

Stefano Sabatini stefasab at gmail.com
Sun Jul 28 16:41:05 CEST 2013


On date Saturday 2013-07-27 14:20:43 +0200, Stefano Sabatini encoded:
> On date Friday 2013-07-26 17:20:54 +0200, Stefano Sabatini encoded:
> > In particular, fix rendering for nested array, as in the
> > programs->streams->stream case.
> > ---
> >  ffprobe.c | 20 +++++++++++++++-----
> >  1 file changed, 15 insertions(+), 5 deletions(-)
> 
> Updated, this time possibly working. Again, not very elegant but I
> couldn't find a better way to achieve the objective of fixing
> rendering when adding the -show_programs option.
> 
> I'll apply the patch soon if no-one has better ideas/suggestions.
> -- 
> FFmpeg = Fundamentalist and Fundamental Merciless Philosofic Energized Guide

> From 2024376d1cdd0b4b640b03c1c65acccf8d4c4723 Mon Sep 17 00:00:00 2001
> From: Stefano Sabatini <stefasab at gmail.com>
> Date: Sat, 27 Jul 2013 14:09:05 +0200
> Subject: [PATCH] ffprobe: do not treat array elements as nested in the compact
>  writer
> 
> This fixes rendering of sections containing nested elements followed by
> an array, for example as in the case:
> programs->disposition,tags->streams->stream
> 
> enabled by the -show_programs option.
> ---
>  ffprobe.c | 21 +++++++++++++++++----
>  1 file changed, 17 insertions(+), 4 deletions(-)

Applied.
-- 
FFmpeg = Fabulous and Forgiving Murdering Perennial Erratic Gospel


More information about the ffmpeg-devel mailing list