[FFmpeg-soc] [soc]: r341 - libavfilter/vf_crop.c

koorogi subversion at mplayerhq.hu
Sun Jul 8 18:03:41 CEST 2007


Author: koorogi
Date: Sun Jul  8 18:03:41 2007
New Revision: 341

Log:
Crop filter also supports BGR24 colorspace.


Modified:
   libavfilter/vf_crop.c

Modified: libavfilter/vf_crop.c
==============================================================================
--- libavfilter/vf_crop.c	(original)
+++ libavfilter/vf_crop.c	Sun Jul  8 18:03:41 2007
@@ -48,7 +48,7 @@ static int init(AVFilterContext *ctx, co
 
 static int *query_in_formats(AVFilterLink *link)
 {
-    return avfilter_make_format_list(1, PIX_FMT_RGB24);
+    return avfilter_make_format_list(2, PIX_FMT_RGB24, PIX_FMT_BGR24);
 }
 
 static int config_input(AVFilterLink *link)



More information about the FFmpeg-soc mailing list