Merge remote-tracking branch 'origin/master' into 0.11
[platform/upstream/gst-plugins-good.git] / gst / rtp / gstrtpmp4gdepay.h
index 88bd4e6..88df29c 100644 (file)
@@ -1,5 +1,5 @@
 /* GStreamer
- * Copyright (C) <2005> Wim Taymans <wim@fluendo.com>
+ * Copyright (C) <2005> Wim Taymans <wim.taymans@gmail.com>
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Library General Public
@@ -22,7 +22,7 @@
 
 #include <gst/gst.h>
 #include <gst/base/gstadapter.h>
-#include <gst/rtp/gstbasertpdepayload.h>
+#include <gst/rtp/gstrtpbasedepayload.h>
 
 G_BEGIN_DECLS
 
@@ -42,10 +42,15 @@ typedef struct _GstRtpMP4GDepayClass GstRtpMP4GDepayClass;
 
 struct _GstRtpMP4GDepay
 {
-  GstBaseRTPDepayload depayload;
+  GstRTPBaseDepayload depayload;
 
   gint profile_level_id;
   gint streamtype;
+
+  gint constantSize;
+  gint constantDuration;
+  gint maxDisplacement;
+
   gint sizelength;
   gint indexlength;
   gint indexdeltalength;
@@ -54,15 +59,26 @@ struct _GstRtpMP4GDepay
   gint randomaccessindication;
   gint streamstateindication;
   gint auxiliarydatasizelength;
+
+  guint max_AU_index;
+  guint prev_AU_index;
+  guint last_AU_index;
+  guint next_AU_index;
+  guint32 prev_rtptime;
+  guint prev_AU_num;
+
+  GQueue *packets;
   
   GstAdapter *adapter;
 };
 
 struct _GstRtpMP4GDepayClass
 {
-  GstBaseRTPDepayloadClass parent_class;
+  GstRTPBaseDepayloadClass parent_class;
 };
 
+GType gst_rtp_mp4g_depay_get_type (void);
+
 gboolean gst_rtp_mp4g_depay_plugin_init (GstPlugin * plugin);
 
 G_END_DECLS