@@ -84,7 +84,7 @@ namespace openshot {
8484 * FFmpegWriter w("/home/jonathan/NewVideo.webm");
8585 *
8686 * // Set options
87- * w.SetAudioOptions(true, "libvorbis", 44100, 2, 128000); // Sample Rate: 44100, Channels: 2, Bitrate: 128000
87+ * w.SetAudioOptions(true, "libvorbis", 44100, 2, ChannelLayout::LAYOUT_STEREO, 128000); // Sample Rate: 44100, Channels: 2, Bitrate: 128000
8888 * w.SetVideoOptions(true, "libvpx", openshot::Fraction(24,1), 720, 480, openshot::Fraction(1,1), false, false, 300000); // FPS: 24, Size: 720x480, Pixel Ratio: 1/1, Bitrate: 300000
8989 *
9090 * // Open the writer
@@ -111,7 +111,7 @@ namespace openshot {
111111 * FFmpegWriter w("/home/jonathan/NewVideo.webm");
112112 *
113113 * // Set options
114- * w.SetAudioOptions(true, "libvorbis", 44100, 2, 128000); // Sample Rate: 44100, Channels: 2, Bitrate: 128000
114+ * w.SetAudioOptions(true, "libvorbis", 44100, 2, ChannelLayout::LAYOUT_STEREO, 128000); // Sample Rate: 44100, Channels: 2, Bitrate: 128000
115115 * w.SetVideoOptions(true, "libvpx", openshot::Fraction(24,1), 720, 480, openshot::Fraction(1,1), false, false, 300000); // FPS: 24, Size: 720x480, Pixel Ratio: 1/1, Bitrate: 300000
116116 *
117117 * // Prepare Streams (Optional method that must be called before any SetOption calls)
0 commit comments