diff options
Diffstat (limited to 'src/post/deinterlace/plugins/greedy.c')
-rw-r--r-- | src/post/deinterlace/plugins/greedy.c | 29 |
1 files changed, 13 insertions, 16 deletions
diff --git a/src/post/deinterlace/plugins/greedy.c b/src/post/deinterlace/plugins/greedy.c index 503f8dd34..8acb12c09 100644 --- a/src/post/deinterlace/plugins/greedy.c +++ b/src/post/deinterlace/plugins/greedy.c @@ -4,19 +4,20 @@ * * This code is ported from DScaler: http://deinterlace.sf.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 library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. * - * This program is distributed in the hope that it will be useful, + * This library 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. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser 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. + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the + * Free Software Foundation, Inc., 59 Temple Place - Suite 330, + * Boston, MA 02111-1307, USA. */ #ifdef HAVE_CONFIG_H @@ -199,12 +200,8 @@ static deinterlace_method_t greedymethod = "deinterlacer from DScaler." } }; -#ifdef BUILD_TVTIME_PLUGINS -void deinterlace_plugin_init( void ) -#else -void greedy_plugin_init( void ) -#endif +deinterlace_method_t *greedy_get_method( void ) { - register_deinterlace_method( &greedymethod ); + return &greedymethod; } |