summaryrefslogtreecommitdiff
path: root/src/input/libdvdnav/dvdnav.h
diff options
context:
space:
mode:
authorMichael Roitzsch <mroi@users.sourceforge.net>2003-03-25 13:17:20 +0000
committerMichael Roitzsch <mroi@users.sourceforge.net>2003-03-25 13:17:20 +0000
commit4e943eedd4a8cecf5926ded3ea8e9054b53cc26d (patch)
tree5ff01b958cea0e8b4cae5992469b6262ab011c08 /src/input/libdvdnav/dvdnav.h
parent02f1a32e5fb7f13b2f706f7d3efa125f2b100ead (diff)
downloadxine-lib-4e943eedd4a8cecf5926ded3ea8e9054b53cc26d.tar.gz
xine-lib-4e943eedd4a8cecf5926ded3ea8e9054b53cc26d.tar.bz2
sync to cvs of libdvdnav
* optional PGC based seeking * new event on cell changes for timing info (currently not used by xine-lib) CVS patchset: 4480 CVS date: 2003/03/25 13:17:20
Diffstat (limited to 'src/input/libdvdnav/dvdnav.h')
-rw-r--r--src/input/libdvdnav/dvdnav.h24
1 files changed, 23 insertions, 1 deletions
diff --git a/src/input/libdvdnav/dvdnav.h b/src/input/libdvdnav/dvdnav.h
index 69f2367cc..fb8aa866e 100644
--- a/src/input/libdvdnav/dvdnav.h
+++ b/src/input/libdvdnav/dvdnav.h
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: dvdnav.h,v 1.7 2003/03/21 22:13:37 mroi Exp $
+ * $Id: dvdnav.h,v 1.8 2003/03/25 13:17:21 mroi Exp $
*
*/
@@ -171,6 +171,28 @@ dvdnav_status_t dvdnav_set_readahead_flag(dvdnav_t *self, int use_readahead);
dvdnav_status_t dvdnav_get_readahead_flag(dvdnav_t *self, int* flag);
/**
+ * Specify whether the positioning works PGC or PG based.
+ * Programs (PGs) on DVDs are similar to Chapters and the program chain (PGC)
+ * usually covers a whole feature. This affects the behaviour of the
+ * functions dvdnav_get_position() and dvdnav_sector_search().
+ * Default is PG based positioning.
+ *
+ * \param self Pointer to dvdnav_t associated with this operation.
+ * \param pgc 0 - PG based, 1 - PGC based
+ */
+dvdnav_status_t dvdnav_set_PGC_positioning_flag(dvdnav_t *self, int pgc);
+
+/**
+ * Query whether positioning is PG or PGC based.
+ *
+ * \param self Pointer to dvdnav_t associated with this operation.
+ * \param flag Pointer to int to recieve flag value.
+ *
+ * \sa dvdnav_set_PGC_positioning_flag()
+ */
+dvdnav_status_t dvdnav_get_PGC_positioning_flag(dvdnav_t *self, int *flag);
+
+/**
* @}
*/