summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/post/deinterlace/plugins/Makefile.am3
-rw-r--r--src/post/deinterlace/plugins/scalerbob.c49
2 files changed, 51 insertions, 1 deletions
diff --git a/src/post/deinterlace/plugins/Makefile.am b/src/post/deinterlace/plugins/Makefile.am
index ff605dd6d..f08fa250a 100644
--- a/src/post/deinterlace/plugins/Makefile.am
+++ b/src/post/deinterlace/plugins/Makefile.am
@@ -15,7 +15,8 @@ libdeinterlaceplugins_la_SOURCES = \
linearblend.c \
vfir.c \
weave.c \
- greedy2frame.c
+ greedy2frame.c \
+ scalerbob.c
libdeinterlaceplugins_la_LIBADD = $(XINE_LIB)
libdeinterlaceplugins_la_LDFLAGS = -avoid-version -module @XINE_PLUGIN_MIN_SYMS@
diff --git a/src/post/deinterlace/plugins/scalerbob.c b/src/post/deinterlace/plugins/scalerbob.c
new file mode 100644
index 000000000..a4e785edd
--- /dev/null
+++ b/src/post/deinterlace/plugins/scalerbob.c
@@ -0,0 +1,49 @@
+/**
+ * Dummy plugin for 'scalerbob' support.
+ *
+ * Copyright (C) 2002 Billy Biggs <vektor@dumbterm.net>.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2, or (at your option)
+ * any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software Foundation,
+ * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <stdio.h>
+#include "speedy.h"
+#include "deinterlace.h"
+
+static deinterlace_method_t scalerbobmethod =
+{
+ DEINTERLACE_PLUGIN_API_VERSION,
+ "Overlay Bob",
+ "OverlayBob",
+ 1,
+ 0,
+ 1,
+ 0,
+ 0,
+ 1,
+ 0,
+ 0,
+ 0
+};
+
+#ifdef BUILD_TVTIME_PLUGINS
+void deinterlace_plugin_init( void )
+#else
+void scalerbob_plugin_init( void )
+#endif
+{
+ register_deinterlace_method( &scalerbobmethod );
+}
+