[FFmpeg-soc] [soc]: r1838 - libavfilter/vf_overlay.c

koorogi subversion at mplayerhq.hu
Sun Jan 13 22:18:15 CET 2008


Author: koorogi
Date: Sun Jan 13 22:18:15 2008
New Revision: 1838

Log:
Remove link config function which isn't needed anymore


Modified:
   libavfilter/vf_overlay.c

Modified: libavfilter/vf_overlay.c
==============================================================================
--- libavfilter/vf_overlay.c	(original)
+++ libavfilter/vf_overlay.c	Sun Jan 13 22:18:15 2008
@@ -87,13 +87,6 @@ static int config_input_main(AVFilterLin
     return 0;
 }
 
-static int config_input_sub(AVFilterLink *link)
-{
-    if(!link->dst->inputs[0])
-        return -1;
-    return link->format != link->dst->inputs[0]->format;
-}
-
 static void start_frame(AVFilterLink *link, AVFilterPicRef *picref)
 {
     OverlayContext *over = link->dst->priv;
@@ -207,7 +200,6 @@ AVFilter avfilter_vf_overlay =
                                   { .name            = "sub",
                                     .type            = AV_PAD_VIDEO,
                                     .start_frame     = start_frame,
-                                    .config_props    = config_input_sub,
                                     .end_frame       = end_frame,
                                     .min_perms       = AV_PERM_READ,
                                     .rej_perms       = AV_PERM_REUSE2, },



More information about the FFmpeg-soc mailing list