diff --git a/src/gstducatividdec.h b/src/gstducatividdec.h
index d21d8ca6adb4bf7b67af95fafff49f270745a50e..def8247a4dbad57f8f06952a60f4f968a63086b3 100644 (file)
--- a/src/gstducatividdec.h
+++ b/src/gstducatividdec.h
typedef struct _GstDucatiVidDec GstDucatiVidDec;
typedef struct _GstDucatiVidDecClass GstDucatiVidDecClass;
typedef struct _GstDucatiVidDec GstDucatiVidDec;
typedef struct _GstDucatiVidDecClass GstDucatiVidDecClass;
+#define MAX_BACKLOG_FRAMES 16
+
struct _GstDucatiVidDec
{
GstElement parent;
struct _GstDucatiVidDec
{
GstElement parent;
XDAS_Int16 pageMemType;
struct omap_device *device;
XDAS_Int16 pageMemType;
struct omap_device *device;
+
+ /* Frames waiting to be reordered */
+ GstBuffer *backlog_frames[MAX_BACKLOG_FRAMES + 1];
+ gint backlog_maxframes;
+ gint backlog_nframes;
};
struct _GstDucatiVidDecClass
};
struct _GstDucatiVidDecClass