+/*****************************************************************************
+ * subsdelay.c : Subsdelay plugin for vlc
+ *****************************************************************************
+ * Copyright © 2011 VideoLAN
+ * $Id$
+ *
+ * Authors: Yuval Tze <yuvaltze@gmail.com>
+ *
+ * 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 of the License, 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., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
+ *****************************************************************************/
+
/*****************************************************************************
* Preamble
*****************************************************************************/
add_integer( CFG_MODE, 1, MODE_TEXT, MODE_LONGTEXT, false )
change_integer_list( pi_mode_values, ppsz_mode_descriptions )
- add_float_with_range( CFG_FACTOR, 2, 0, 20, NULL, FACTOR_TEXT, FACTOR_LONGTEXT, false )
+ add_float_with_range( CFG_FACTOR, 2, 0, 20, FACTOR_TEXT, FACTOR_LONGTEXT, false )
- add_integer_with_range( CFG_OVERLAP, 3, 1, 4, NULL, OVERLAP_TEXT, OVERLAP_LONGTEXT, false )
+ add_integer_with_range( CFG_OVERLAP, 3, 1, 4, OVERLAP_TEXT, OVERLAP_LONGTEXT, false )
- add_integer_with_range( CFG_MIN_ALPHA, 125, 0, 255, NULL, MIN_ALPHA_TEXT, MIN_ALPHA_LONGTEXT, false )
+ add_integer_with_range( CFG_MIN_ALPHA, 70, 0, 255, MIN_ALPHA_TEXT, MIN_ALPHA_LONGTEXT, false )
set_section( N_("Overlap fix"), NULL )
{
subsdelay_heap_entry_t *p_entry;
mtime_t i_new_ts;
- int i_result;
+ int i_result = VLC_SUCCESS;
p_entry = p_subpic->updater.p_sys;
if( !p_entry )