summaryrefslogtreecommitdiffstats
path: root/ext/resindvd/resindvdsrc.h
diff options
context:
space:
mode:
authorJan Schmidt <thaytan@noraisin.net>2009-05-05 13:14:47 +0100
committerJan Schmidt <thaytan@noraisin.net>2009-05-06 21:21:37 +0100
commit491583b6482fd6287653b8c6fb49494dd44b4261 (patch)
tree7102d34b33dbadf82b7488e4f4509652363f4572 /ext/resindvd/resindvdsrc.h
parent874549b5360ad897e11f809e929d62803a7b5f2f (diff)
downloadgst-plugins-bad-491583b6482fd6287653b8c6fb49494dd44b4261.tar.gz
gst-plugins-bad-491583b6482fd6287653b8c6fb49494dd44b4261.tar.bz2
gst-plugins-bad-491583b6482fd6287653b8c6fb49494dd44b4261.zip
resindvd: send angles-changed messages when appropriate
When the current angle changes, or the number of available angles changes, send an angles-changed message to let the app know.
Diffstat (limited to 'ext/resindvd/resindvdsrc.h')
-rw-r--r--ext/resindvd/resindvdsrc.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/resindvd/resindvdsrc.h b/ext/resindvd/resindvdsrc.h
index 61fa5d19..bfcb7497 100644
--- a/ext/resindvd/resindvdsrc.h
+++ b/ext/resindvd/resindvdsrc.h
@@ -114,6 +114,8 @@ struct _resinDvdSrc
GstEvent *audio_select_event;
GstEvent *highlight_event;
+ gboolean angles_changed;
+
/* GList of NAV packets awaiting activation, and the
* running times to activate them. */
GSList *pending_nav_blocks;
@@ -129,6 +131,7 @@ struct _resinDvdSrc
gint8 cur_spu_phys_stream;
gboolean cur_spu_forced_only;
guint32 cur_clut[16];
+ gint n_angles;
};
struct _resinDvdSrcClass