]> git.sesse.net Git - ffmpeg/commitdiff
ffmpeg.c: document default metadata mappings
authorAnton Khirnov <wyskas@gmail.com>
Mon, 22 Nov 2010 07:32:27 +0000 (07:32 +0000)
committerAnton Khirnov <wyskas@gmail.com>
Mon, 22 Nov 2010 07:32:27 +0000 (07:32 +0000)
Originally committed as revision 25795 to svn://svn.ffmpeg.org/ffmpeg/trunk

doc/ffmpeg-doc.texi

index ed46b49c0084f599cb36aa7baaa12a32f19be8bf..397c3b4756f5ca6b782918ed73705a7e197e7313 100644 (file)
@@ -625,6 +625,12 @@ Optional @var{metadata} parameters specify, which metadata to copy - (g)lobal
 per-(p)rogram. All metadata specifiers other than global must be followed by the
 stream/chapter/program number. If metadata specifier is omitted, it defaults to
 global.
+
+By default, global metadata is copied from the first input file to all output files,
+per-stream and per-chapter metadata is copied along with streams/chapters. These
+default mappings are disabled by creating any mapping of the relevant type. A negative
+file index can be used to create a dummy mapping that just disables automatic copying.
+
 For example to copy metadata from the first stream of the input file to global metadata
 of the output file:
 @example