[FFmpeg-cvslog] r25703 - trunk/libavfilter/graphparser.c

stefano subversion
Sun Nov 7 23:47:33 CET 2010


Author: stefano
Date: Sun Nov  7 23:47:33 2010
New Revision: 25703

Log:
Extend documentation for parse_filter().

Modified:
   trunk/libavfilter/graphparser.c

Modified: trunk/libavfilter/graphparser.c
==============================================================================
--- trunk/libavfilter/graphparser.c	Sun Nov  7 20:22:55 2010	(r25702)
+++ trunk/libavfilter/graphparser.c	Sun Nov  7 23:47:33 2010	(r25703)
@@ -139,7 +139,18 @@ static int create_filter(AVFilterContext
 }
 
 /**
- * Parse "filter=params"
+ * Parse a string of the form FILTER_NAME[=PARAMS], and create a
+ * corresponding filter instance which is added to graph with
+ * create_filter().
+ *
+ * @param filt_ctx put here a pointer to the created filter context on
+ * success, NULL otherwise
+ * @param buf pointer to the buffer to parse, *buf will be updated to
+ * point to the char next after the parsed string
+ * @param index an index which is assigned to the created filter
+ * instance, and which is supposed to be unique for each filter
+ * instance added to the filtergraph
+ * @return 0 in case of success, a negative AVERROR code otherwise
  */
 static int parse_filter(AVFilterContext **filt_ctx, const char **buf, AVFilterGraph *graph,
                         int index, AVClass *log_ctx)



More information about the ffmpeg-cvslog mailing list