summaryrefslogtreecommitdiff
path: root/src/demuxers/demux_film.c
diff options
context:
space:
mode:
authorDaniel Caujolle-Bert <f1rmb@users.sourceforge.net>2002-06-12 12:22:25 +0000
committerDaniel Caujolle-Bert <f1rmb@users.sourceforge.net>2002-06-12 12:22:25 +0000
commit6c5572a3e91e95c7f92f1110fac91caa241a9a87 (patch)
tree246923aadffab6a78dbbe22865245a5dfb17b597 /src/demuxers/demux_film.c
parent184079276271955bc74954b0cc96298cb5ec4366 (diff)
downloadxine-lib-6c5572a3e91e95c7f92f1110fac91caa241a9a87.tar.gz
xine-lib-6c5572a3e91e95c7f92f1110fac91caa241a9a87.tar.bz2
Remove no more needed XINE_LOGO.
Internationalize all config related stuff. Fix not registered mrl ending in roq/film demuxer. Add bindtextdomain() calls in load_plugins (for audio/video out plugins). CVS patchset: 2066 CVS date: 2002/06/12 12:22:25
Diffstat (limited to 'src/demuxers/demux_film.c')
-rw-r--r--src/demuxers/demux_film.c22
1 files changed, 14 insertions, 8 deletions
diff --git a/src/demuxers/demux_film.c b/src/demuxers/demux_film.c
index 47ee5a753..a8ac34c91 100644
--- a/src/demuxers/demux_film.c
+++ b/src/demuxers/demux_film.c
@@ -21,7 +21,7 @@
* For more information on the FILM file format, visit:
* http://www.pcisys.net/~melanson/codecs/
*
- * $Id: demux_film.c,v 1.10 2002/06/07 02:40:47 miguelfreitas Exp $
+ * $Id: demux_film.c,v 1.11 2002/06/12 12:22:33 f1rmb Exp $
*/
#ifdef HAVE_CONFIG_H
@@ -497,10 +497,11 @@ static int demux_film_open(demux_plugin_t *this_gen, input_plugin_t *input,
if(!suffix)
return DEMUX_CANNOT_HANDLE;
- xine_strdupa(valid_ends, (this->config->register_string(this->config,
- "mrl.ends_film", VALID_ENDS,
- "valid mrls ending for film demuxer",
- NULL, NULL, NULL)));
+ xine_strdupa(valid_ends,
+ (this->config->register_string(this->config,
+ "mrl.ends_film", VALID_ENDS,
+ _("valid mrls ending for film demuxer"),
+ NULL, NULL, NULL)));
while((m = xine_strsep(&valid_ends, ",")) != NULL) {
while(*m == ' ' || *m == '\t') m++;
@@ -729,9 +730,9 @@ demux_plugin_t *init_demuxer_plugin(int iface, xine_t *xine) {
demux_film_t *this;
if (iface != 9) {
- printf ("demux_film: plugin doesn't support plugin API version %d.\n"
- " this means there's a version mismatch between xine and this "
- " demuxer plugin. Installing current demux plugins should help.\n",
+ printf (_("demux_film: plugin doesn't support plugin API version %d.\n"
+ " this means there's a version mismatch between xine and this "
+ " demuxer plugin. Installing current demux plugins should help.\n"),
iface);
return NULL;
}
@@ -739,6 +740,11 @@ demux_plugin_t *init_demuxer_plugin(int iface, xine_t *xine) {
this = (demux_film_t *) xine_xmalloc(sizeof(demux_film_t));
this->config = xine->config;
this->xine = xine;
+
+ (void *) this->config->register_string(this->config,
+ "mrl.ends_film", VALID_ENDS,
+ _("valid mrls ending for film demuxer"),
+ NULL, NULL, NULL);
this->demux_plugin.interface_version = DEMUXER_PLUGIN_IFACE_VERSION;
this->demux_plugin.open = demux_film_open;