mirror of
https://github.com/mpv-player/mpv
synced 2025-05-16 23:29:04 +00:00
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
This commit is contained in:
parent
e90a28f7cf
commit
261e389fdd
@ -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);
|
||||
}
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user