]> git.sesse.net Git - vlc/commitdiff
* src/libvlc.h:
authorDerk-Jan Hartman <hartman@videolan.org>
Thu, 2 Oct 2003 13:31:00 +0000 (13:31 +0000)
committerDerk-Jan Hartman <hartman@videolan.org>
Thu, 2 Oct 2003 13:31:00 +0000 (13:31 +0000)
  - Removed a dupe.
  - Added a 'L' commandline shortcut for loop and 'R' for repeat. There
    already is a 'Z' shortcut for random.
* modules/codec/subsdec.c: debug info.

modules/codec/subsdec.c
src/libvlc.h

index 9ca639e1cb29cfa75ae299ab390f1f82e266bd26..d33c724f7688e5ee59c9d96d9ce6f74d52fdc5f0 100644 (file)
@@ -2,7 +2,7 @@
  * subsdec.c : text subtitles decoder
  *****************************************************************************
  * Copyright (C) 2000-2001 VideoLAN
- * $Id: subsdec.c,v 1.1 2003/10/01 22:19:57 gbazin Exp $
+ * $Id: subsdec.c,v 1.2 2003/10/02 13:31:00 hartman Exp $
  *
  * Authors: Gildas Bazin <gbazin@netcourrier.com>
  *          Samuel Hocevar <sam@zoy.org>
@@ -173,6 +173,8 @@ static int InitDecoder( decoder_t *p_dec )
     }
 
     if( val.psz_string ) free( val.psz_string );
+#else
+    msg_Dbg( p_dec, "No iconv support available" );
 #endif
 
     return VLC_SUCCESS;
index e57c4f3855cb6261b7385029fea7b1483b9fd291..a9c3aea4a129c698aeeb65d6c0f64e7c5d8de7c9 100644 (file)
@@ -2,7 +2,7 @@
  * libvlc.h: main libvlc header
  *****************************************************************************
  * Copyright (C) 1998-2002 VideoLAN
- * $Id: libvlc.h,v 1.91 2003/10/01 22:44:58 hartman Exp $
+ * $Id: libvlc.h,v 1.92 2003/10/02 13:31:00 hartman Exp $
  *
  * Authors: Vincent Seguin <seguin@via.ecp.fr>
  *          Samuel Hocevar <sam@zoy.org>
@@ -686,11 +686,9 @@ vlc_module_begin();
 
     /* Playlist options */
     add_category_hint( N_("Playlist"), PLAYLIST_CAT_LONGTEXT , VLC_FALSE );
-    add_bool_with_short( "random", 'Z', 0, NULL, RANDOM_TEXT, 
-                                RANDOM_LONGTEXT, VLC_FALSE );
     add_bool_with_short( "random", 'Z', 0, NULL, RANDOM_TEXT, RANDOM_LONGTEXT, VLC_FALSE );
-    add_bool( "loop", 0, NULL, LOOP_TEXT, LOOP_LONGTEXT, VLC_FALSE );
-    add_bool( "repeat", 0, NULL, REPEAT_TEXT, REPEAT_LONGTEXT, VLC_TRUE );
+    add_bool_with_short( "loop", 'L', 0, NULL, LOOP_TEXT, LOOP_LONGTEXT, VLC_FALSE );
+    add_bool_with_short( "repeat", 'R', 0, NULL, REPEAT_TEXT, REPEAT_LONGTEXT, VLC_TRUE );
 
     /* Misc options */
     add_category_hint( N_("Miscellaneous"), MISC_CAT_LONGTEXT, VLC_TRUE );