changeset 27599:9821950a390d

With -identify, ID_DVD_VOLUME_ID is not shown on some systems. Using DVDISOVolumeInfo instead of DVDUDFVolumeInfo fixes this. patch by Mathieu SCHROETER, mathieu.schroeter gamesover ch
author diego
date Tue, 16 Sep 2008 21:30:04 +0000
parents 8645ed44c8d3
children 4a979c26d034
files stream/stream_dvd.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/stream/stream_dvd.c	Tue Sep 16 13:15:13 2008 +0000
+++ b/stream/stream_dvd.c	Tue Sep 16 21:30:04 2008 +0000
@@ -873,7 +873,7 @@
           mp_msg(MSGT_IDENTIFY, MSGL_V, "%02X", discid[i]);
         mp_msg(MSGT_IDENTIFY, MSGL_V, "\n");
       }
-      if (DVDUDFVolumeInfo(dvd, volid, sizeof(volid), NULL, 0) >= 0)
+      if (DVDUDFVolumeInfo(dvd, volid, sizeof(volid), NULL, 0) >= 0 || DVDISOVolumeInfo(dvd, volid, sizeof(volid), NULL, 0) >= 0)
         mp_msg(MSGT_IDENTIFY, MSGL_V, "ID_DVD_VOLUME_ID=%s\n", volid);
     }
     /**