summaryrefslogtreecommitdiff
path: root/src/input/input_dvd.c
diff options
context:
space:
mode:
authorTim Champagne <tchamp@users.sourceforge.net>2003-05-07 17:54:18 +0000
committerTim Champagne <tchamp@users.sourceforge.net>2003-05-07 17:54:18 +0000
commitf7cceca3a6c5e7167ee91283576f0e88632e4388 (patch)
tree78e1a266803c01180ee0f571b1ed324c6c2a5295 /src/input/input_dvd.c
parent60165da4c8bca87e05d18a4a612ad3f66e95f50d (diff)
downloadxine-lib-f7cceca3a6c5e7167ee91283576f0e88632e4388.tar.gz
xine-lib-f7cceca3a6c5e7167ee91283576f0e88632e4388.tar.bz2
DVD play sort of works on Win32. Also added a couple more plugings to the Win32 build.
CVS patchset: 4795 CVS date: 2003/05/07 17:54:18
Diffstat (limited to 'src/input/input_dvd.c')
-rw-r--r--src/input/input_dvd.c21
1 files changed, 15 insertions, 6 deletions
diff --git a/src/input/input_dvd.c b/src/input/input_dvd.c
index 492afcfaa..0b890ab3f 100644
--- a/src/input/input_dvd.c
+++ b/src/input/input_dvd.c
@@ -18,7 +18,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_dvd.c,v 1.160 2003/05/06 14:02:25 tchamp Exp $
+ * $Id: input_dvd.c,v 1.161 2003/05/07 17:54:18 tchamp Exp $
*
*/
@@ -143,7 +143,11 @@
# ifndef _MSC_VER
# define trace_print(s, ...) /* Nothing */
# else
-# define trace_print printf
+# ifdef INPUT_DEBUG_TRACE
+# define trace_print printf
+# else
+# define trace_print() /* Nothing */
+# endif /* INPUT_DEBUG_TRACE */
# endif /* _MSC_VER */
#endif
@@ -1244,14 +1248,16 @@ static int dvd_plugin_open (input_plugin_t *this_gen) {
intended_dvd_device = locator;
intended_dvd_device[last_slash] = '\0';
locator += last_slash;
+
+#ifdef _MSC_VER
+ locator++;
+#endif
+
}else{
intended_dvd_device=class->dvd_device;
}
-#ifdef _MSC_VER
- if (*locator == '/')
- locator++;
-#else
+#ifndef _MSC_VER
locator++;
#endif
@@ -1621,6 +1627,9 @@ static void *init_class (xine_t *xine, void *data) {
/*
* $Log: input_dvd.c,v $
+ * Revision 1.161 2003/05/07 17:54:18 tchamp
+ * DVD play sort of works on Win32. Also added a couple more plugings to the Win32 build.
+ *
* Revision 1.160 2003/05/06 14:02:25 tchamp
* This is some general Win32 cleanup and getting ready for DVD support.
*