summaryrefslogtreecommitdiff
path: root/src/demuxers/demux_roq.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/demuxers/demux_roq.c')
-rw-r--r--src/demuxers/demux_roq.c19
1 files changed, 12 insertions, 7 deletions
diff --git a/src/demuxers/demux_roq.c b/src/demuxers/demux_roq.c
index 668f5ad44..5ddc91684 100644
--- a/src/demuxers/demux_roq.c
+++ b/src/demuxers/demux_roq.c
@@ -21,7 +21,7 @@
* For more information regarding the RoQ file format, visit:
* http://www.csse.monash.edu.au/~timf/
*
- * $Id: demux_roq.c,v 1.4 2002/06/07 02:40:47 miguelfreitas Exp $
+ * $Id: demux_roq.c,v 1.5 2002/06/12 12:22:33 f1rmb Exp $
*/
#ifdef HAVE_CONFIG_H
@@ -294,9 +294,9 @@ static int demux_roq_open(demux_plugin_t *this_gen, input_plugin_t *input,
return DEMUX_CANNOT_HANDLE;
xine_strdupa(valid_ends, (this->config->register_string(this->config,
- "mrl.ends_roq", VALID_ENDS,
- "valid mrls ending for roq demuxer",
- NULL, NULL, NULL)));
+ "mrl.ends_roq", VALID_ENDS,
+ _("valid mrls ending for roq demuxer"),
+ NULL, NULL, NULL)));
while((m = xine_strsep(&valid_ends, ",")) != NULL) {
while(*m == ' ' || *m == '\t') m++;
@@ -533,9 +533,9 @@ demux_plugin_t *init_demuxer_plugin(int iface, xine_t *xine) {
demux_roq_t *this;
if (iface != 9) {
- printf ("demux_roq: plugin doesn't support plugin API version %d.\n"
- " this means there's a version mismatch between xine and this "
- " demuxer plugin.\nInstalling current demux plugins should help.\n",
+ printf (_("demux_roq: plugin doesn't support plugin API version %d.\n"
+ " this means there's a version mismatch between xine and this "
+ " demuxer plugin.\nInstalling current demux plugins should help.\n"),
iface);
return NULL;
}
@@ -544,6 +544,11 @@ demux_plugin_t *init_demuxer_plugin(int iface, xine_t *xine) {
this->config = xine->config;
this->xine = xine;
+ (void *) this->config->register_string(this->config,
+ "mrl.ends_roq", VALID_ENDS,
+ _("valid mrls ending for roq demuxer"),
+ NULL, NULL, NULL);
+
this->demux_plugin.interface_version = DEMUXER_PLUGIN_IFACE_VERSION;
this->demux_plugin.open = demux_roq_open;
this->demux_plugin.start = demux_roq_start;