]> git.sesse.net Git - vlc/commitdiff
* modules/codec/dvbsub.c: Add deprecated option and fix option parsing.
authorChristophe Massiot <massiot@videolan.org>
Fri, 7 Apr 2006 16:42:18 +0000 (16:42 +0000)
committerChristophe Massiot <massiot@videolan.org>
Fri, 7 Apr 2006 16:42:18 +0000 (16:42 +0000)
modules/codec/dvbsub.c

index fc757bc58a58f36abc17f0c85131c91b3285b673..51bd0e6e72a6146a498d0d7233352578fb534377 100644 (file)
@@ -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 "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();
 
-static const char *ppsz_enc_options[] = { NULL };
+static const char *ppsz_enc_options[] = { "x", "y", NULL };
 
 /****************************************************************************
  * Local structures