summaryrefslogtreecommitdiffstats
path: root/ext/dv/gstdvdemux.h
diff options
context:
space:
mode:
authorDavid Schleef <ds@schleef.org>2009-09-13 12:01:27 -0700
committerDavid Schleef <ds@schleef.org>2009-09-13 12:34:07 -0700
commit1b57f1950905c4e3432312108cab19dd1b8446a0 (patch)
tree82d53cc8798f76e2f91a0296d67658f0155d29ed /ext/dv/gstdvdemux.h
parentb1dab0fce1fc265e02c2985ef64ba77f3508b8dd (diff)
dvdemux: Fix detection of new media
There are 5 or 6 AAUX source control packs in a frame, and any of them could have REC_ST cleared, indicating a recording start point. libdv only checks the first.
Diffstat (limited to 'ext/dv/gstdvdemux.h')
-rw-r--r--ext/dv/gstdvdemux.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/dv/gstdvdemux.h b/ext/dv/gstdvdemux.h
index e7dd0c6d..b77f4f46 100644
--- a/ext/dv/gstdvdemux.h
+++ b/ext/dv/gstdvdemux.h
@@ -80,6 +80,7 @@ struct _GstDVDemux {
gboolean running;
gboolean need_segment;
gboolean new_media;
+ int frames_since_new_media;
gint found_header; /* ATOMIC */
GstEvent *seek_event;