diff --git a/src/gstducatih264dec.h b/src/gstducatih264dec.h
index a32c65d67117c93dd6cb9746ebd93dd21e654bd7..42cc12b391071b7b20104095f19191bd86c6986b 100644 (file)
--- a/src/gstducatih264dec.h
+++ b/src/gstducatih264dec.h
typedef struct _GstDucatiH264Dec GstDucatiH264Dec;
typedef struct _GstDucatiH264DecClass GstDucatiH264DecClass;
+/* The H.264 spec has a hard limit of 16 */
+#define MAX_BACKLOG_FRAMES 16
+
struct _GstDucatiH264Dec
{
GstDucatiVidDec parent;
+
+ /* Frames waiting to be reordered */
+ GstBuffer *backlog_frames[MAX_BACKLOG_FRAMES + 1];
+ guint backlog_maxframes;
+ guint backlog_nframes;
};
struct _GstDucatiH264DecClass