[FFmpeg-devel] [PATCH] ffprobe: generalize writer subsection nesting model

Stefano Sabatini stefasab at gmail.com
Tue Sep 18 00:43:55 CEST 2012

On date Tuesday 2012-09-18 00:38:39 +0200, Stefano Sabatini encoded:
> Discard unflexible structure based on the root/chapter/section structure
> in favor of a generalized concept of section.
> This should allow to represent sections at generic level of nesting, and
> allow subsections printing selection.
> Also, slightly simplify the code.
> ---
>  ffprobe.c |  515 +++++++++++++++++++++++++++++--------------------------------
>  1 files changed, 242 insertions(+), 273 deletions(-)

Note: I tested the patch against a local fate test for each
writer. The test file was generated with:

ffmpeg  -f lavfi -i "aevalsrc=sin(400*PI*2*t)::d=0.5[out0]; testsrc=d=0.5[out1]; testsrc=s=100x100:d=0.5[out2]" \
   -flags +bitexact  -map 0:0 -map 0:1 -map 0:2 \ 
   -metadata "title=ffprobe test file" \
   -metadata "comment='A comment wih XML & JSON special chars': <tag value=\"x\">" \
   -y tests/data/fate/ffprobe-test.nut

and I'm not sure if it is best to auto-generate it when fate is run or
I should just push the generated file to the samples FATE collection.
FFmpeg = Fabulous Fast Merciful Portable Eccentric Guide

More information about the ffmpeg-devel mailing list