[MPlayer-cvslog] r27197 - trunk/stream/stream_dvd.c

nicodvb subversion at mplayerhq.hu
Fri Jul 4 18:00:08 CEST 2008


Author: nicodvb
Date: Fri Jul  4 18:00:07 2008
New Revision: 27197

Log:
in ifo_stream_open() propagate the device based on the dirname of stream->url; patch by Mathieu SCHROETER mathieu.schroeter gamesover ch

Modified:
   trunk/stream/stream_dvd.c

Modified: trunk/stream/stream_dvd.c
==============================================================================
--- trunk/stream/stream_dvd.c	(original)
+++ trunk/stream/stream_dvd.c	Fri Jul  4 18:00:07 2008
@@ -1095,6 +1095,7 @@ ifo_stream_open (stream_t *stream, int m
     filename = strdup(basename(stream->url));
 
     dvd_priv=calloc(1, sizeof(struct stream_priv_s));
+    dvd_priv->device = strdup(dirname(stream->url));
     if(!strncasecmp(filename,"vts_",4))
     {
         if(sscanf(filename+3, "_%02d_", &dvd_priv->title)!=1)



More information about the MPlayer-cvslog mailing list