summaryrefslogtreecommitdiffstats
path: root/ext/resindvd/resindvdsrc.h
diff options
context:
space:
mode:
authorJan Schmidt <thaytan@noraisin.net>2009-05-06 21:19:13 +0100
committerJan Schmidt <thaytan@noraisin.net>2009-05-06 21:26:25 +0100
commita5fbb123cab57358325b9cd94d2e8de50361f0c1 (patch)
treed997705e5bedf6bb50428b3e66541aaa7e9c6e7a /ext/resindvd/resindvdsrc.h
parentf7fad4a88b56dd74b14070886c8e86bb14942b20 (diff)
downloadgst-plugins-bad-a5fbb123cab57358325b9cd94d2e8de50361f0c1.tar.gz
gst-plugins-bad-a5fbb123cab57358325b9cd94d2e8de50361f0c1.tar.bz2
gst-plugins-bad-a5fbb123cab57358325b9cd94d2e8de50361f0c1.zip
resindvd: Send a title tag when we change chapter/menu/angle
Allow apps like Totem to display a nicer title that reflects the current position on the disc.
Diffstat (limited to 'ext/resindvd/resindvdsrc.h')
-rw-r--r--ext/resindvd/resindvdsrc.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/resindvd/resindvdsrc.h b/ext/resindvd/resindvdsrc.h
index bfcb7497..f55b454f 100644
--- a/ext/resindvd/resindvdsrc.h
+++ b/ext/resindvd/resindvdsrc.h
@@ -58,6 +58,8 @@ struct _resinDvdSrc
gchar *device;
dvdnav_t *dvdnav;
+ const char *disc_name;
+
/* dvd_reader instance is used to load and cache VTS/VMG ifo info */
dvd_reader_t *dvdread;
@@ -72,6 +74,8 @@ struct _resinDvdSrc
/* Current playback location: VTS 0 = VMG, plus in_menu or not */
gint vts_n;
gboolean in_menu;
+ gint title_n; /* Title num */
+ gint part_n; /* Part num */
gboolean running;
gboolean discont;