summaryrefslogtreecommitdiffstats
path: root/ext/resindvd/resindvdsrc.h
diff options
context:
space:
mode:
authorJan Schmidt <thaytan@noraisin.net>2009-03-24 01:02:28 +0000
committerJan Schmidt <thaytan@noraisin.net>2009-04-02 14:46:35 +0100
commit8244a3d688fd963536e6ac9ce7dd4344cf357234 (patch)
treeb510c3abfbb902ab0b76783677c37c55e077d03d /ext/resindvd/resindvdsrc.h
parent160bf21e9deb3e4efa63b9c98faf8fd39aa97cdf (diff)
downloadgst-plugins-bad-8244a3d688fd963536e6ac9ce7dd4344cf357234.tar.gz
gst-plugins-bad-8244a3d688fd963536e6ac9ce7dd4344cf357234.tar.bz2
gst-plugins-bad-8244a3d688fd963536e6ac9ce7dd4344cf357234.zip
resindvd: Add faststart, and work around some multi-angle issues
Add a 'fast-start' property to the rsndvdsrc element, that attempts to jump directly to the DVD menu when starting. Doesn't work correctly on all titles yet. Add workarounds for issues with multiple angles in libdvdnav: Use a heuristic to avoid detecting discontinuities during multiple-angle titles, it seems caused by libdvdnav losing some NAV packets in multiangle titles. Fix seeking in multi-angle titles by aligning our sector calculation logic with libdvdnav's. Also, use libdvdnav's dvdnav_get_current_time() method to determine the logical position of the current cell when it changes, as the cell_start value in the cell_change event provides a number that doesn't compensate for angle cell blocks.
Diffstat (limited to 'ext/resindvd/resindvdsrc.h')
-rw-r--r--ext/resindvd/resindvdsrc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/resindvd/resindvdsrc.h b/ext/resindvd/resindvdsrc.h
index 9bd53413..52f3f349 100644
--- a/ext/resindvd/resindvdsrc.h
+++ b/ext/resindvd/resindvdsrc.h
@@ -60,6 +60,8 @@ struct _resinDvdSrc
{
RsnPushSrc parent;
+ gboolean faststart;
+
GMutex *dvd_lock;
GCond *still_cond;
GMutex *branch_lock;