summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/input/input_vcd.c14
-rw-r--r--src/input/vcd/xineplug_inp_vcd.c44
2 files changed, 29 insertions, 29 deletions
diff --git a/src/input/input_vcd.c b/src/input/input_vcd.c
index 675493c62..751ddd7f7 100644
--- a/src/input/input_vcd.c
+++ b/src/input/input_vcd.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: input_vcd.c,v 1.67 2003/04/26 22:34:32 guenter Exp $
+ * $Id: input_vcd.c,v 1.68 2003/10/19 14:34:35 siggi Exp $
*
*/
@@ -837,7 +837,7 @@ static int vcd_plugin_open (input_plugin_t *this_gen) {
while (*filename == '/') filename++;
if (sscanf (filename, "%d", &this->cur_track) != 1) {
- printf ("input_vcd: malformed MRL. Use vcd:/<track #>\n");
+ printf ("input_vcd: malformed MRL. Use ovcd:/<track #>\n");
return 0;
}
@@ -876,7 +876,7 @@ static input_plugin_t *vcd_class_get_instance (input_class_t *cls_gen, xine_stre
vcd_input_plugin_t *this;
char *mrl = strdup(data);
- if (strncasecmp (mrl, "vcd:/",5)) {
+ if (strncasecmp (mrl, "ovcd:/",6)) {
free (mrl);
return 0;
}
@@ -913,7 +913,7 @@ static char *vcd_class_get_description (input_class_t *this_gen) {
}
static char *vcd_class_get_identifier (input_class_t *this_gen) {
- return "vcd";
+ return "ovcd";
}
static void vcd_class_dispose (input_class_t *this_gen) {
@@ -973,7 +973,7 @@ static xine_mrl_t **vcd_class_get_dir (input_class_t *this_gen, const char *file
char mrl[1024];
memset(&mrl, 0, sizeof (mrl));
- sprintf(mrl, "vcd:/%d",i);
+ sprintf(mrl, "ovcd:/%d",i);
if((i-1) >= this->mrls_allocated_entries) {
++this->mrls_allocated_entries;
@@ -1050,7 +1050,7 @@ static char ** vcd_class_get_autoplay_list (input_class_t *this_gen, int *num_fi
if(this->filelist[i - 1] == NULL)
this->filelist[i - 1] = (char *) realloc(this->filelist[i - 1], sizeof(char *) * 256);
- sprintf (this->filelist[i - 1], "vcd:/%d",i);
+ sprintf (this->filelist[i - 1], "ovcd:/%d",i);
/* printf ("list[%d] : %d %s\n", i, this->filelist[i-1], this->filelist[i-1]); */
}
@@ -1098,6 +1098,6 @@ static void *init_class (xine_t *xine, void *data) {
plugin_info_t xine_plugin_info[] = {
/* type, API, "name", version, special_info, init_function */
- { PLUGIN_INPUT, 13, "VCD", XINE_VERSION_CODE, NULL, init_class },
+ { PLUGIN_INPUT, 13, "OVCD", XINE_VERSION_CODE, NULL, init_class },
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
};
diff --git a/src/input/vcd/xineplug_inp_vcd.c b/src/input/vcd/xineplug_inp_vcd.c
index 3084a32c2..3f3bf087a 100644
--- a/src/input/vcd/xineplug_inp_vcd.c
+++ b/src/input/vcd/xineplug_inp_vcd.c
@@ -1,5 +1,5 @@
/*
- $Id: xineplug_inp_vcd.c,v 1.1 2003/10/13 11:47:11 f1rmb Exp $
+ $Id: xineplug_inp_vcd.c,v 1.2 2003/10/19 14:34:36 siggi Exp $
Copyright (C) 2002,2003 Rocky Bernstein <rocky@panix.com>
@@ -45,8 +45,8 @@
#include <errno.h>
#include <ctype.h>
-#define SHORT_PLUGIN_NAME "VCDX"
-#define MRL_PREFIX "vcdx://"
+#define SHORT_PLUGIN_NAME "VCD"
+#define MRL_PREFIX "vcd://"
#define MRL_PREFIX_LEN strlen(MRL_PREFIX)
#define xine_config_entry_t xine_cfg_entry_t
@@ -421,26 +421,26 @@ vcd_build_mrl_list(vcd_input_class_t *class, char *vcd_device)
/*!
parses a MRL which has the format
- vcdx://[vcd_path][@[EPTS]?number]\*?
+ vcd://[vcd_path][@[EPTS]?number]\*?
Examples
- vcdx:// - Play (navigate) default device: /dev/cdrom
- vcdx://@ - same as above
- vcdx:///dev/cdrom - probably same as above
- vcdx:///dev/cdrom2 - Play (navigate) /dev/cdrom2
- vcdx:///dev/cdrom2@ - same as above
- vcdx:///dev/cdrom2@T1 - Play Track 1 from /dev/cdrom2
- vcdx:///dev/cdrom@S1 - Play selection id 1 from /dev/cdrom
- vcdx://dev/cdrom@E0 - Play Entry id 0 from default device
- vcdx://@P1 - probably same as above.
+ vcd:// - Play (navigate) default device: /dev/cdrom
+ vcd://@ - same as above
+ vcd:///dev/cdrom - probably same as above
+ vcd:///dev/cdrom2 - Play (navigate) /dev/cdrom2
+ vcd:///dev/cdrom2@ - same as above
+ vcd:///dev/cdrom2@T1 - Play Track 1 from /dev/cdrom2
+ vcd:///dev/cdrom@S1 - Play selection id 1 from /dev/cdrom
+ vcd://dev/cdrom@E0 - Play Entry id 0 from default device
+ vcd://@P1 - probably same as above.
If there is no playback control, MRL will
- get converted into vcdx://@E0
- vcdx://@P1* - probably same as above.
- vcdx://@S0 - Play segment 0 from default device
- vcdx://@3 - Play track 3 from default device
- vcdx:///dev/cdrom2@1 - Play track 1 from /dev/cdrom2
- vcdx:///tmp/ntsc.bin@ - Play default item from /tmp/ntsc.bin
- vcdx:///tmp/ntsc.bin/@E0 - Play entry 0 of /tmp/ntsc.bin
+ get converted into vcd://@E0
+ vcd://@P1* - probably same as above.
+ vcd://@S0 - Play segment 0 from default device
+ vcd://@3 - Play track 3 from default device
+ vcd:///dev/cdrom2@1 - Play track 1 from /dev/cdrom2
+ vcd:///tmp/ntsc.bin@ - Play default item from /tmp/ntsc.bin
+ vcd:///tmp/ntsc.bin/@E0 - Play entry 0 of /tmp/ntsc.bin
parameters:
mrl : mrl to parse
@@ -1340,7 +1340,7 @@ uninit_log_handler (vcd_log_level_t level, const char message[])
}
/*!
- Things that need to be done the vcdx plugin is closed.
+ Things that need to be done the vcd plugin is closed.
*/
static void
vcd_class_dispose (input_class_t *this_gen) {
@@ -1639,7 +1639,7 @@ vcd_init (xine_t *xine, void *data)
(char **) autoplay_modes,
_("default type to use on VCD autoplay"),
_("What play unit to use when none is specified in an MRL, e.g. "
- "vcdx:// or vcdx:///dev/dvd:"),
+ "vcd:// or vcd:///dev/dvd:"),
0,
vcd_default_autoplay_cb, class);