Skip to content
Snippets Groups Projects

Provide a way of obtaining the dvd volume id

Files
4
+ 14
1
@@ -588,7 +588,7 @@ dvdnav_status_t dvdnav_spu_language_select(dvdnav_t *self,
* this is a descriptive string such as `THE_MATRIX' but sometimes is singularly
* uninformative such as `PDVD-011421'. Some DVD authors even forget to set this,
* so you may also read the default of the authoring software they used, like
* `DVDVolume'.
* `DVDVolume' (see also dvdnav_get_volid_string).
*/
dvdnav_status_t dvdnav_get_title_string(dvdnav_t *self, const char **title_str);
@@ -599,6 +599,19 @@ dvdnav_status_t dvdnav_get_title_string(dvdnav_t *self, const char **title_str);
*/
dvdnav_status_t dvdnav_get_serial_string(dvdnav_t *self, const char **serial_str);
/*
* Fills the volid_str string with the VolumeIdentifier of the disc.
* The VolumeIdentifier might be latin-1 encoded (8bit unicode)
* null terminated and max 32 bytes (including '\0'); or coded
* with '0-9','A-Z','_' null terminated and max 33 bytes
* (including '\0').
* See also dvdnav_get_title_string
*
* Provided volid_str must be able to accommodate the
* largest case scenario - have a size of at least 33 bytes.
*/
dvdnav_status_t dvdnav_get_volid_string(dvdnav_t *self, char *volid_str);
/*
* Get video aspect code.
* The aspect code does only change on VTS boundaries.
Loading