[FFmpeg-devel] [PATCH 2/3] doc: fix channel layout value in abuffer example.
Clément Bœsch
ubitux at gmail.com
Tue Feb 14 13:55:44 CET 2012
From: Clément Bœsch <clement.boesch at smartjog.com>
The channel layout must start with 0x, otherwise it is parsed as a
number of channels.
---
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
--
1.7.9
More information about the ffmpeg-devel
mailing list