aboutsummaryrefslogtreecommitdiffstats
path: root/ffmpeg_filter.c
diff options
context:
space:
mode:
authorClément Bœsch <ubitux@gmail.com>2013-04-11 17:51:21 +0200
committerClément Bœsch <ubitux@gmail.com>2013-04-11 17:51:22 +0200
commit937325f3db315a0e674d906d80ae517f71308ba8 (patch)
treed3879285dc75c80bfad6a1bb79a3de778acbb36f /ffmpeg_filter.c
parent64ce15b9f433a59e11183fddc89324ca0afcb2b8 (diff)
downloadffmpeg-937325f3db315a0e674d906d80ae517f71308ba8.tar.gz
ffmpeg: insert aformat filter with the appropriate separator.
The ',' separator is deprecated with aformat, and thus causes various arnings when transcoding audio.
Diffstat (limited to 'ffmpeg_filter.c')
-rw-r--r--ffmpeg_filter.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ffmpeg_filter.c b/ffmpeg_filter.c
index 6824af6dee..eb0f1c61c9 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)
{