summaryrefslogtreecommitdiffstats
path: root/ext/raw1394/gstdv1394src.h
diff options
context:
space:
mode:
authorJan Schmidt <thaytan@mad.scientist.com>2003-01-06 15:07:21 +0000
committerJan Schmidt <thaytan@mad.scientist.com>2003-01-06 15:07:21 +0000
commit85ad491b517207ec907f5910467c50e5a7450601 (patch)
tree9aceee290a7edc0d247b0de7fd41cf75ec19d1ff /ext/raw1394/gstdv1394src.h
parent84545c9d8097f3f942c05932a51d73ad56f7fa04 (diff)
Committing patch from Dan Fischer
Original commit message from CVS: Committing patch from Dan Fischer Adds ability to skip partial frames, and 'skip' and 'consecutive' parameters Plugin now sets source caps to indicate PAL or NTSC The kino developers relicensed the code snippet from kino under the LGPL
Diffstat (limited to 'ext/raw1394/gstdv1394src.h')
-rw-r--r--ext/raw1394/gstdv1394src.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/ext/raw1394/gstdv1394src.h b/ext/raw1394/gstdv1394src.h
index b9340337..8de7c54d 100644
--- a/ext/raw1394/gstdv1394src.h
+++ b/ext/raw1394/gstdv1394src.h
@@ -51,6 +51,11 @@ struct _GstDV1394Src {
GstPad *srcpad;
+ // consecutive=2, skip=4 will skip 4 frames, then let 2 consecutive ones thru
+ gint consecutive;
+ gint skip;
+ gboolean drop_incomplete;
+
int numcards,numports;
int card,port,channel;
@@ -59,6 +64,12 @@ struct _GstDV1394Src {
gboolean started;
GstBuffer *buf;
+
+ GstBuffer *frame;
+ guint frameSize;
+ guint bytesInFrame;
+ guint frameSequence;
+ GstBufferPool *pool;
};
struct _GstDV1394SrcClass {