[FFmpeg-cvslog] doc: fix channel layout value in abuffer example.

Clément Bœsch git at videolan.org
Mon Feb 20 09:24:03 CET 2012


ffmpeg | branch: master | Clément Bœsch <clement.boesch at smartjog.com> | Tue Feb 14 12:16:51 2012 +0100| [6e6bdeb137e1b89598f1be19a83a30fd8fb6b7f1] | committer: Clément Bœsch

doc: fix channel layout value in abuffer example.

The channel layout must start with 0x, otherwise it is parsed as a
number of channels.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=6e6bdeb137e1b89598f1be19a83a30fd8fb6b7f1
---

 doc/filters.texi |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/doc/filters.texi b/doc/filters.texi
index 12b551c..b885958 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -543,10 +543,10 @@ abuffer=44100:s16:stereo:planar
 
 will instruct the source to accept planar 16bit signed stereo at 44100Hz.
 Since the sample format with name "s16" corresponds to the number
-1 and the "stereo" channel layout corresponds to the value 3, this is
+1 and the "stereo" channel layout corresponds to the value 0x3, this is
 equivalent to:
 @example
-abuffer=44100:1:3:1
+abuffer=44100:1:0x3:1
 @end example
 
 @section aevalsrc



More information about the ffmpeg-cvslog mailing list