aboutsummaryrefslogtreecommitdiff
path: root/gst/pnm/gstpnmdec.h
diff options
context:
space:
mode:
Diffstat (limited to 'gst/pnm/gstpnmdec.h')
-rw-r--r--gst/pnm/gstpnmdec.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/gst/pnm/gstpnmdec.h b/gst/pnm/gstpnmdec.h
index 6cb128ed..a148f72c 100644
--- a/gst/pnm/gstpnmdec.h
+++ b/gst/pnm/gstpnmdec.h
@@ -21,6 +21,7 @@
#define __GST_PNMDEC_H__
#include <gst/gst.h>
+#include <gst/video/video.h>
#include "gstpnmutils.h"
@@ -38,15 +39,15 @@ typedef struct _GstPnmdecClass GstPnmdecClass;
struct _GstPnmdec
{
GstElement element;
-
+ GstVideoDecoder decoder;
GstPnmInfoMngr mngr;
- guint size, last_byte;
+ guint size, last_byte, current_size ;
GstBuffer *buf;
};
struct _GstPnmdecClass
{
- GstElementClass parent_class;
+ GstVideoDecoderClass parent_class ;
};
GType gst_pnmdec_get_type (void) G_GNUC_CONST;