Commit 5b315d73 authored by Christophe Massiot's avatar Christophe Massiot

* modules/codec/dvbsub.c: Add deprecated option and fix option parsing.

parent a2590d21
...@@ -96,9 +96,10 @@ vlc_module_begin(); ...@@ -96,9 +96,10 @@ vlc_module_begin();
add_integer( ENC_CFG_PREFIX "x", -1, NULL, ENC_POSX_TEXT, ENC_POSX_LONGTEXT, VLC_FALSE ); add_integer( ENC_CFG_PREFIX "x", -1, NULL, ENC_POSX_TEXT, ENC_POSX_LONGTEXT, VLC_FALSE );
add_integer( ENC_CFG_PREFIX "y", -1, NULL, ENC_POSY_TEXT, ENC_POSY_LONGTEXT, VLC_FALSE ); add_integer( ENC_CFG_PREFIX "y", -1, NULL, ENC_POSY_TEXT, ENC_POSY_LONGTEXT, VLC_FALSE );
add_deprecated( ENC_CFG_PREFIX "timeout", VLC_FALSE ); /* Deprecated since 0.8.5 */
vlc_module_end(); vlc_module_end();
static const char *ppsz_enc_options[] = { NULL }; static const char *ppsz_enc_options[] = { "x", "y", NULL };
/**************************************************************************** /****************************************************************************
* Local structures * Local structures
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment