[FFmpeg-soc] [soc]: r653 - in libavfilter: vf_passthrough.c vf_slicify.c

koorogi subversion at mplayerhq.hu
Thu Aug 9 17:50:57 CEST 2007


Author: koorogi
Date: Thu Aug  9 17:50:57 2007
New Revision: 653

Log:
Remove duplicates of the default request_frame()


Modified:
   libavfilter/vf_passthrough.c
   libavfilter/vf_slicify.c

Modified: libavfilter/vf_passthrough.c
==============================================================================
--- libavfilter/vf_passthrough.c	(original)
+++ libavfilter/vf_passthrough.c	Thu Aug  9 17:50:57 2007
@@ -58,11 +58,6 @@ static void draw_slice(AVFilterLink *lin
     avfilter_draw_slice(link->dst->outputs[0], data, y, h);
 }
 
-static void request_frame(AVFilterLink *link)
-{
-    avfilter_request_frame(link->src->inputs[0]);
-}
-
 AVFilter vf_passthrough =
 {
     .name      = "passthrough",
@@ -76,8 +71,7 @@ AVFilter vf_passthrough =
                                     .end_frame       = end_frame, },
                                   { .name = NULL}},
     .outputs   = (AVFilterPad[]) {{ .name            = "default",
-                                    .type            = AV_PAD_VIDEO,
-                                    .request_frame   = request_frame, },
+                                    .type            = AV_PAD_VIDEO },
                                   { .name = NULL}},
 };
 

Modified: libavfilter/vf_slicify.c
==============================================================================
--- libavfilter/vf_slicify.c	(original)
+++ libavfilter/vf_slicify.c	Thu Aug  9 17:50:57 2007
@@ -93,11 +93,6 @@ static void draw_slice(AVFilterLink *lin
         avfilter_draw_slice(link->dst->outputs[0], src, y2, y + h - y2);
 }
 
-static void request_frame(AVFilterLink *link)
-{
-    avfilter_request_frame(link->src->inputs[0]);
-}
-
 AVFilter vf_slicify =
 {
     .name      = "slicify",
@@ -114,8 +109,7 @@ AVFilter vf_slicify =
                                     .end_frame       = end_frame, },
                                   { .name = NULL}},
     .outputs   = (AVFilterPad[]) {{ .name            = "default",
-                                    .type            = AV_PAD_VIDEO,
-                                    .request_frame   = request_frame, },
+                                    .type            = AV_PAD_VIDEO, },
                                   { .name = NULL}},
 };
 



More information about the FFmpeg-soc mailing list