diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-09-16 21:30:04 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-09-16 21:30:04 +0000 |
commit | 261e389fdde9b595c2c2068708a636ce539449fb (patch) | |
tree | 42a894e3c98c453873538432aef949738227d042 /stream | |
parent | e90a28f7cfbcf41f821c03cafdd3070cf9f2eec4 (diff) | |
download | mpv-261e389fdde9b595c2c2068708a636ce539449fb.tar.bz2 mpv-261e389fdde9b595c2c2068708a636ce539449fb.tar.xz |
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
Diffstat (limited to 'stream')
-rw-r--r-- | stream/stream_dvd.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } /** |