[FFmpeg-soc] [soc]: r1841 - libavfilter/avfiltergraph.c

victor subversion at mplayerhq.hu
Sat Jan 26 12:05:07 CET 2008


Author: victor
Date: Sat Jan 26 12:05:07 2008
New Revision: 1841

Log:
More precise error message


Modified:
   libavfilter/avfiltergraph.c

Modified: libavfilter/avfiltergraph.c
==============================================================================
--- libavfilter/avfiltergraph.c	(original)
+++ libavfilter/avfiltergraph.c	Sat Jan 26 12:05:07 2008
@@ -488,12 +488,12 @@ static int graph_load_from_desc(AVFilter
     for(curfilt = desc->filters; curfilt; curfilt = curfilt->next) {
         if(!(filterdef = avfilter_get_by_name(curfilt->filter)) ||
            !(filt = avfilter_open(filterdef, curfilt->name))) {
-            av_log(ctx, AV_LOG_ERROR, "error creating filter\n");
+            av_log(ctx, AV_LOG_ERROR, "error creating filter '%s'\n", curfilt->name);
             goto fail;
         }
         avfilter_graph_add_filter(ctx, filt);
         if(avfilter_init_filter(filt, curfilt->args, NULL)) {
-            av_log(ctx, AV_LOG_ERROR, "error initializing filter\n");
+            av_log(ctx, AV_LOG_ERROR, "error initializing filter '%s'\n", curfilt->name);
             goto fail;
         }
     }



More information about the FFmpeg-soc mailing list