string review: Merge/canonicalize debug string messages.
* cvd.c : CVD Subtitle decoder thread
*****************************************************************************
* Copyright (C) 2003, 2004 VideoLAN
- * $Id: cvd.c,v 1.14 2004/01/25 18:20:12 bigben Exp $
+ * $Id: cvd.c,v 1.15 2004/01/25 19:27:09 rocky Exp $
*
* Authors: Rocky Bernstein
* based on code from:
set_callbacks( DecoderOpen, VCDSubClose );
add_integer ( MODULE_STRING "-debug", 0, NULL,
- N_("Set debug mask for additional debugging."),
- N_(DEBUG_LONGTEXT), VLC_TRUE );
+ DEBUG_TEXT, DEBUG_LONGTEXT, VLC_TRUE );
add_integer ( MODULE_STRING "-horizontal-correct", 0, NULL,
HORIZONTAL_CORRECT, HORIZONTAL_CORRECT_LONGTEXT, VLC_FALSE );
SUB_ASPECT_RATIO_TEXT, SUB_ASPECT_RATIO_LONGTEXT,
VLC_TRUE );
- add_integer( MODULE_STRING "-duration-scaling", 9, NULL,
+ add_integer( MODULE_STRING "-duration-scaling", 3, NULL,
DURATION_SCALE_TEXT, DURATION_SCALE_LONGTEXT,
VLC_TRUE );
* ogt.c : Overlay Graphics Text (SVCD subtitles) decoder thread
*****************************************************************************
* Copyright (C) 2003, 2004 VideoLAN
- * $Id: ogt.c,v 1.11 2004/01/16 13:32:37 rocky Exp $
+ * $Id: ogt.c,v 1.12 2004/01/25 19:27:09 rocky Exp $
*
* Author: Rocky Bernstein
* based on code from:
set_callbacks( DecoderOpen, VCDSubClose );
add_integer ( MODULE_STRING "-debug", 0, NULL,
- N_("set debug mask for additional debugging."),
- DEBUG_LONGTEXT, VLC_TRUE );
+ DEBUG_TEXT, DEBUG_LONGTEXT, VLC_TRUE );
add_integer ( MODULE_STRING "-horizontal-correct", 0, NULL,
HORIZONTAL_CORRECT, HORIZONTAL_CORRECT_LONGTEXT, VLC_FALSE );
* subtitle.h : Common SVCD and CVD subtitles header
*****************************************************************************
* Copyright (C) 2003,2004 VideoLAN
- * $Id: subtitle.h,v 1.12 2004/01/25 18:20:12 bigben Exp $
+ * $Id: subtitle.h,v 1.13 2004/01/25 19:27:09 rocky Exp $
*
* Author: Rocky Bernstein
* based on code from:
#define DECODE_DBG_PNG 64 /* Extract subtitles to PNG files. */
#define DECODE_DBG_INFO 128
+#define DEBUG_TEXT N_( \
+ "If nonzero, this gives additional debug information." \
+ )
+
#define DEBUG_LONGTEXT N_( \
"This integer when viewed in binary is a debugging mask\n" \
"external call 1\n" \