[FFmpeg-devel] [PATCH] ffprobe: force display of missing fields, depending on writer.flags

Stefano Sabatini stefasab at gmail.com
Mon Nov 7 17:58:36 CET 2011

On date Monday 2011-10-24 02:39:46 +0200, Stefano Sabatini encoded:
> Add flags field to Writer, and define the
> WRITER_FLAG_DISPLAY_OPTIONAL_FIELDS flag which forces the display of
> optional fields, for example non-available or invalid fields.
> Also set the flag in the default writer.
> This change is required since for some writers it is preferable to show
> all the fields (for example for avoiding a variable number of fields in
> CSV output), while for other formats (e.g. JSON, XML), it is better to
> leave invalid/unavailable fields unspecified and thus avoid parsing work
> to the deserializer.
> ---
>  ffprobe.c |  130 +++++++++++++++++++++++++++++++++++++-----------------------
>  1 files changed, 80 insertions(+), 50 deletions(-)

Updated, this is required by the compact writer.
FFmpeg = Faithful Fancy Muttering Portentous Eccentric Glue
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-ffprobe-force-display-of-missing-fields-depending-on.patch
Type: text/x-diff
Size: 11992 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20111107/4b546b00/attachment.bin>

More information about the ffmpeg-devel mailing list