[MPlayer-dev-eng] [PATCH] identify DVD volume info

Nico Sabbi nicola.sabbi at poste.it
Tue Sep 16 21:18:37 CEST 2008


Il giorno mar, 16/09/2008 alle 19.04 +0200, Mathieu SCHROETER ha
scritto:
> Hello,
> 
> With -identify, ID_DVD_VOLUME_ID is never shown with my system and
> my DVD movies. I don't know the reason (UDF-fs is used) but I must
> use DVDISOVolumeInfo instead of DVDUDFVolumeInfo in order to have
> the information.
> 
> See patch attached..
> 
> Regards,
> -- 
> Mathieu SCHROETER
> 
> 
> 
> 
> 
> 
> 
> Differenze tra
> file allegato
> (dvd_iso_volume_info.patch)
> 
> Index: stream/stream_dvd.c
> ===================================================================
> --- stream/stream_dvd.c (révision 27630)
> +++ stream/stream_dvd.c (copie de travail)
> @@ -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);
>      }
>      /**
> 

ok to commit




More information about the MPlayer-dev-eng mailing list