ffmpeg: insert format filter with the appropriate separator.
authorClément Bœsch <ubitux@gmail.com>
Thu, 11 Apr 2013 16:05:46 +0000 (18:05 +0200)
committerClément Bœsch <ubitux@gmail.com>
Thu, 11 Apr 2013 16:05:46 +0000 (18:05 +0200)
Similar to 937325f3.

ffmpeg_filter.c

index eb0f1c6..4978f1e 100644 (file)
@@ -124,7 +124,7 @@ static char *choose_pix_fmts(OutputStream *ost)
 
         for (; *p != AV_PIX_FMT_NONE; p++) {
             const char *name = av_get_pix_fmt_name(*p);
-            avio_printf(s, "%s:", name);
+            avio_printf(s, "%s|", name);
         }
         len = avio_close_dyn_buf(s, &ret);
         ret[len - 1] = 0;