summaryrefslogtreecommitdiffstats
path: root/ext/dv/gstdvdec.h
diff options
context:
space:
mode:
authorJan Schmidt <thaytan@mad.scientist.com>2004-02-05 13:16:22 +0000
committerJan Schmidt <thaytan@mad.scientist.com>2004-02-05 13:16:22 +0000
commit7ed5a3d96fb1d53230a687e54a7c829e044771f8 (patch)
tree3ab7015b7a86c2113d24551dc9bb9b2cf39a369c /ext/dv/gstdvdec.h
parent9794bc50872ebb41a716f1ae3e02814b97c68b04 (diff)
Rework caps negotiation in the element so that it works again.
Original commit message from CVS: Rework caps negotiation in the element so that it works again.
Diffstat (limited to 'ext/dv/gstdvdec.h')
-rw-r--r--ext/dv/gstdvdec.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/ext/dv/gstdvdec.h b/ext/dv/gstdvdec.h
index c360db31..4dffd96f 100644
--- a/ext/dv/gstdvdec.h
+++ b/ext/dv/gstdvdec.h
@@ -46,7 +46,7 @@ struct _GstDVDec {
/* We need to keep track of our pads, so we do so here. */
GstPad *sinkpad,
*videosrcpad,
- *audiosrcpad;
+ *audiosrcpad;
dv_decoder_t *decoder;
gboolean clamp_luma;
@@ -56,14 +56,19 @@ struct _GstDVDec {
GstByteStream *bs;
dv_color_space_t space;
gint bpp;
- gboolean PAL;
- gint framerate;
+ gboolean PAL;
+ gdouble framerate;
gint height;
+ gint frequency;
+ gint channels;
+
gint length;
guint64 next_ts;
guint64 end_position;
gboolean need_discont;
gboolean loop;
+
+ gboolean found_header;
gint16 *audio_buffers[4];
};