| Top |  |  |  |  | 
| OGMDvdDisc * | ogmdvd_disc_new () | 
| gboolean | ogmdvd_disc_open () | 
| void | ogmdvd_disc_close () | 
| gboolean | ogmdvd_disc_is_open () | 
| void | ogmdvd_disc_ref () | 
| void | ogmdvd_disc_unref () | 
| const gchar * | ogmdvd_disc_get_label () | 
| const gchar * | ogmdvd_disc_get_id () | 
| const gchar * | ogmdvd_disc_get_device () | 
| gint64 | ogmdvd_disc_get_vmg_size () | 
| gint | ogmdvd_disc_get_n_titles () | 
| OGMDvdTitle * | ogmdvd_disc_get_nth_title () | 
| GSList * | ogmdvd_disc_get_titles () | 
OGMDvdDisc * ogmdvd_disc_new (const gchar *device,GError **error);
Creates a new OGMDvdDisc for the given a DVD device.
gboolean
ogmdvd_disc_is_open (OGMDvdDisc *disc);
Returns whether the DVD device is open or not.
void
ogmdvd_disc_ref (OGMDvdDisc *disc);
Increments the reference count of an OGMDvdDisc.
void
ogmdvd_disc_unref (OGMDvdDisc *disc);
Decrements the reference count of an OGMDvdDisc.
const gchar *
ogmdvd_disc_get_label (OGMDvdDisc *disc);
Returns the label of the DVD.
const gchar *
ogmdvd_disc_get_id (OGMDvdDisc *disc);
Returns a unique 128 bit disc identifier.
const gchar *
ogmdvd_disc_get_device (OGMDvdDisc *disc);
Returns the DVD device.
gint64
ogmdvd_disc_get_vmg_size (OGMDvdDisc *disc);
Returns the size of the video manager in bytes.
gint
ogmdvd_disc_get_n_titles (OGMDvdDisc *disc);
Returns the number of video titles of this DVD.
OGMDvdTitle * ogmdvd_disc_get_nth_title (OGMDvdDisc *disc,guint nr);
Returns the video title at position nr. The first nr is 0.
GSList *
ogmdvd_disc_get_titles (OGMDvdDisc *disc);
Returns a list of all the titles of disc
.
Error codes returned by ogmdvd_disc_open()
| No such file or directory | ||
| Permission denied to access device | ||
| Tray seems to be open | ||
| Device does not contain a valid DVD video | ||
| Path does not contain a valid DVD structure | ||
| No such directory, block device or iso file | ||
| Cannot open video manager | ||
| Cannot open video titleset | ||
| The DVD identifiers differ | ||
| Unknown error |