[FFmpeg-cvslog] ffmpeg: insert aformat filter with the appropriate separator.

Clément Bœsch git at videolan.org
Thu Apr 11 17:51:44 CEST 2013


ffmpeg | branch: master | Clément Bœsch <ubitux at gmail.com> | Thu Apr 11 17:51:21 2013 +0200| [937325f3db315a0e674d906d80ae517f71308ba8] | committer: Clément Bœsch

ffmpeg: insert aformat filter with the appropriate separator.

The ',' separator is deprecated with aformat, and thus causes various
arnings when transcoding audio.

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

 ffmpeg_filter.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/ffmpeg_filter.c b/ffmpeg_filter.c
index 6824af6..eb0f1c6 100644
--- a/ffmpeg_filter.c
+++ b/ffmpeg_filter.c
@@ -165,13 +165,13 @@ static char *choose_ ## var ## s(OutputStream *ost)                            \
 //                   GET_PIX_FMT_NAME, ":")
 
 DEF_CHOOSE_FORMAT(enum AVSampleFormat, sample_fmt, sample_fmts,
-                  AV_SAMPLE_FMT_NONE, GET_SAMPLE_FMT_NAME, ",")
+                  AV_SAMPLE_FMT_NONE, GET_SAMPLE_FMT_NAME, "|")
 
 DEF_CHOOSE_FORMAT(int, sample_rate, supported_samplerates, 0,
-                  GET_SAMPLE_RATE_NAME, ",")
+                  GET_SAMPLE_RATE_NAME, "|")
 
 DEF_CHOOSE_FORMAT(uint64_t, channel_layout, channel_layouts, 0,
-                  GET_CH_LAYOUT_NAME, ",")
+                  GET_CH_LAYOUT_NAME, "|")
 
 FilterGraph *init_simple_filtergraph(InputStream *ist, OutputStream *ost)
 {



More information about the ffmpeg-cvslog mailing list