[FFmpeg-soc] [soc]: r1797 - libavfilter/vf_slicify.c

koorogi subversion at mplayerhq.hu
Tue Jan 8 05:13:57 CET 2008


Author: koorogi
Date: Tue Jan  8 05:13:56 2008
New Revision: 1797

Log:
Slicify filter can handle YUV as well.


Modified:
   libavfilter/vf_slicify.c

Modified: libavfilter/vf_slicify.c
==============================================================================
--- libavfilter/vf_slicify.c	(original)
+++ libavfilter/vf_slicify.c	Tue Jan  8 05:13:56 2008
@@ -41,13 +41,6 @@ static int init(AVFilterContext *ctx, co
     return 0;
 }
 
-static int query_formats(AVFilterContext *ctx)
-{
-    avfilter_set_common_formats(ctx,
-        avfilter_make_format_list(1, PIX_FMT_RGB24));
-    return 0;
-}
-
 static int config_props(AVFilterLink *link)
 {
     SliceContext *slice = link->dst->priv;
@@ -92,8 +85,6 @@ AVFilter avfilter_vf_slicify =
 
     .init      = init,
 
-    .query_formats = query_formats,
-
     .inputs    = (AVFilterPad[]) {{ .name            = "default",
                                     .type            = AV_PAD_VIDEO,
                                     .start_frame     = start_frame,



More information about the FFmpeg-soc mailing list