diff --git a/src/gstducatih264dec.h b/src/gstducatih264dec.h
index ce0e636e0eea7c9fe219b8389ca1f799c3a2dc5a..7ca65ddca04d006e8cfeb8f9406b7fd379ec94d6 100644 (file)
--- a/src/gstducatih264dec.h
+++ b/src/gstducatih264dec.h
#ifndef __GST_DUCATIH264DEC_H__
#define __GST_DUCATIH264DEC_H__
#ifndef __GST_DUCATIH264DEC_H__
#define __GST_DUCATIH264DEC_H__
-#include <gst/gst.h>
-
#include "gstducatividdec.h"
#include <ti/sdo/codecs/h264dec/ih264vdec.h>
#include "gstducatividdec.h"
#include <ti/sdo/codecs/h264dec/ih264vdec.h>
typedef struct _GstDucatiH264Dec GstDucatiH264Dec;
typedef struct _GstDucatiH264DecClass GstDucatiH264DecClass;
typedef struct _GstDucatiH264Dec GstDucatiH264Dec;
typedef struct _GstDucatiH264DecClass GstDucatiH264DecClass;
+/* The H.264 spec has a hard limit of 16 */
+#define MAX_H264_BACKLOG_FRAMES 16
+
struct _GstDucatiH264Dec
{
GstDucatiVidDec parent;
struct _GstDucatiH264Dec
{
GstDucatiVidDec parent;