summaryrefslogtreecommitdiffstats
path: root/gst/videofilter/make_filter
diff options
context:
space:
mode:
authorDavid Schleef <ds@schleef.org>2004-01-07 08:56:45 +0000
committerDavid Schleef <ds@schleef.org>2004-01-07 08:56:45 +0000
commit08797649fbe07e1bc7a450f3190633a20f3efc84 (patch)
treed5308dc1a2fdf65973d4c0288f3b827629803d1f /gst/videofilter/make_filter
parent0bd268563c20c55fc79528ce7a84e859968998f5 (diff)
Merge gstvideotemplate.h into gstvideotemplate.c
Original commit message from CVS: Merge gstvideotemplate.h into gstvideotemplate.c
Diffstat (limited to 'gst/videofilter/make_filter')
-rwxr-xr-xgst/videofilter/make_filter19
1 files changed, 4 insertions, 15 deletions
diff --git a/gst/videofilter/make_filter b/gst/videofilter/make_filter
index 50741e79..2cc66ffa 100755
--- a/gst/videofilter/make_filter
+++ b/gst/videofilter/make_filter
@@ -16,25 +16,14 @@ open IN, "gstvideotemplate.c";
open OUT, ">gst$template.c";
@lines = <IN>;
-map { s/Videotemplate/$Template/g;
+map {
+ s/gstvideotemplate\.c/SOURCEFILE/g;
+ s/Videotemplate/$Template/g;
s/videotemplate/$template/g;
s/VIDEOTEMPLATE/$TEMPLATE/g;
# remember to break up the Id: in the line below
s/\$I[d]: (.*)\$/$1/g;
-} @lines;
-
-print OUT @lines;
-
-close IN;
-close OUT;
-
-open IN, "gstvideotemplate.h";
-open OUT, ">gst$template.h";
-
-@lines = <IN>;
-map { s/Videotemplate/$Template/g;
- s/videotemplate/$template/g;
- s/VIDEOTEMPLATE/$TEMPLATE/g;
+ s/SOURCEFILE/gstvideotemplate\.c/g;
} @lines;
print OUT @lines;