summaryrefslogtreecommitdiff
path: root/src/input/input_vcd.c
diff options
context:
space:
mode:
authorSiggi Langauf <siggi@users.sourceforge.net>2003-10-19 14:34:35 +0000
committerSiggi Langauf <siggi@users.sourceforge.net>2003-10-19 14:34:35 +0000
commit8edc5dd0c0adf591b813fcba69f60dc2e8d2eaf9 (patch)
tree349ee84f8681f3cac6e961c1e84da53b6b017a19 /src/input/input_vcd.c
parent8fe8dcd2bbc4c00aff851aa807f95244e9cc3a91 (diff)
downloadxine-lib-8edc5dd0c0adf591b813fcba69f60dc2e8d2eaf9.tar.gz
xine-lib-8edc5dd0c0adf591b813fcba69f60dc2e8d2eaf9.tar.bz2
VCD plugins renamed:
VCD (formerly known as VCDX) is the new navigation enables one OVCD (formerly known as VCD) is the old, deprecated one. This is still in here for people who may experience trouble with the new plugin... CVS patchset: 5543 CVS date: 2003/10/19 14:34:35
Diffstat (limited to 'src/input/input_vcd.c')
-rw-r--r--src/input/input_vcd.c14
1 files changed, 7 insertions, 7 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 }
};