summaryrefslogtreecommitdiffstats
path: root/ext/dv/gstdvdec.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/dv/gstdvdec.h')
-rw-r--r--ext/dv/gstdvdec.h11
1 files changed, 4 insertions, 7 deletions
diff --git a/ext/dv/gstdvdec.h b/ext/dv/gstdvdec.h
index 83a22b1e..fbd8b761 100644
--- a/ext/dv/gstdvdec.h
+++ b/ext/dv/gstdvdec.h
@@ -29,7 +29,7 @@ extern "C" {
#include <libdv/dv.h>
-#include <stdio.h>
+#include <gst/bytestream/bytestream.h>
/* This is the definition of the element's object structure. */
@@ -46,11 +46,11 @@ struct _GstDVDec {
/* We need to keep track of our pads, so we do so here. */
GstPad *sinkpad,*videosrcpad,*audiosrcpad;
- guint8 *inframe; // here because we allocate it once, can't be on stack
dv_decoder_t *decoder;
- GstBuffer *carryover;
- gint remaining;
+ GstByteStream *bs;
GstBufferPool *pool;
+ dv_color_space_t space;
+ gint bpp;
};
/* The other half of the object is its class. The class also derives from
@@ -61,9 +61,6 @@ typedef struct _GstDVDecClass GstDVDecClass;
struct _GstDVDecClass {
GstElementClass parent_class;
-
- /* signals */
- void (*asdf) (GstElement *element, GstDVDec *dvdec);
};
/* Five standard preprocessing macros are used in the Gtk+ object system.