summaryrefslogtreecommitdiffstats
path: root/ext/resindvd/resindvdsrc.h
diff options
context:
space:
mode:
authorJan Schmidt <thaytan@noraisin.net>2009-05-11 14:17:42 +0100
committerJan Schmidt <thaytan@noraisin.net>2009-05-11 17:04:10 +0100
commit4204b644ef31c498ba27847dec3e8d6dbfd4eedd (patch)
tree9b0d8773b9b7cc38027d42c8487d14e66365327a /ext/resindvd/resindvdsrc.h
parent79f653fde8d6ff1ecee3147ca8afb42f8cec981a (diff)
downloadgst-plugins-bad-4204b644ef31c498ba27847dec3e8d6dbfd4eedd.tar.gz
gst-plugins-bad-4204b644ef31c498ba27847dec3e8d6dbfd4eedd.tar.bz2
gst-plugins-bad-4204b644ef31c498ba27847dec3e8d6dbfd4eedd.zip
resindvd: Manage timed still sequences better
Make timed still frames work better by extending the current segment when needed, and restarting the still sequence with the correct remaining duration when the wait it interrupted by activation of a highlight NAV packet.
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 0d883744..d30140ea 100644
--- a/ext/resindvd/resindvdsrc.h
+++ b/ext/resindvd/resindvdsrc.h
@@ -90,6 +90,9 @@ struct _resinDvdSrc
gboolean was_mouse_over;
+ /* Remaining time to wait in a timed still: */
+ GstClockTime still_time_remaining;
+
GstBuffer *alloc_buf;
GstBuffer *next_buf;
/* TRUE if the next_buf is a nav block that needs enqueueing */