]> git.sesse.net Git - ffmpeg/blobdiff - libavfilter/graphparser.c
Pass codec pixel format list to get_format, if present, fix vdpau decoding
[ffmpeg] / libavfilter / graphparser.c
index 592934c6ff636aa7b035a567039b5e331e4ef2b2..3fe8524ad3c09f78edd05e63467d533c2b987923 100644 (file)
@@ -82,7 +82,7 @@ static AVFilterContext *create_filter(AVFilterGraph *ctx, int index,
     AVFilter *filt;
     char inst_name[30];
 
-    snprintf(inst_name, sizeof(inst_name), "Parsed filter %d", index);
+    snprintf(inst_name, sizeof(inst_name), "Filter %d %s", index, filt_name);
 
     filt = avfilter_get_by_name(filt_name);
 
@@ -120,12 +120,12 @@ static AVFilterContext *parse_filter(const char **buf, AVFilterGraph *graph,
                                      int index, AVClass *log_ctx)
 {
     char *opts = NULL;
-    char *name = av_get_token(buf, "=,[");
+    char *name = av_get_token(buf, "=,;[\n");
     AVFilterContext *ret;
 
     if(**buf == '=') {
         (*buf)++;
-        opts = av_get_token(buf, "[],\n");
+        opts = av_get_token(buf, "[],;\n");
     }
 
     ret = create_filter(graph, index, name, opts, log_ctx);