From 261e389fdde9b595c2c2068708a636ce539449fb Mon Sep 17 00:00:00 2001 From: diego Date: Tue, 16 Sep 2008 21:30:04 +0000 Subject: 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 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27631 b3059339-0415-0410-9bf9-f77b7e298cf2 --- stream/stream_dvd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'stream/stream_dvd.c') diff --git a/stream/stream_dvd.c b/stream/stream_dvd.c index 85bb485c4f..b28cb874b7 100644 --- a/stream/stream_dvd.c +++ b/stream/stream_dvd.c @@ -873,7 +873,7 @@ static int open_s(stream_t *stream,int mode, void* opts, int* file_format) { 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); } /** -- cgit v1.2.3