summaryrefslogtreecommitdiffstats
path: root/gst/rtp/gstrtpg711enc.h
diff options
context:
space:
mode:
Diffstat (limited to 'gst/rtp/gstrtpg711enc.h')
-rw-r--r--gst/rtp/gstrtpg711enc.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/gst/rtp/gstrtpg711enc.h b/gst/rtp/gstrtpg711enc.h
index e3ab1fe5..f8ca6dd4 100644
--- a/gst/rtp/gstrtpg711enc.h
+++ b/gst/rtp/gstrtpg711enc.h
@@ -18,6 +18,7 @@
#include <gst/gst.h>
#include <gst/rtp/gstbasertppayload.h>
+#include <gst/base/gstadapter.h>
G_BEGIN_DECLS
@@ -38,8 +39,10 @@ typedef struct _GstRtpG711EncClass GstRtpG711EncClass;
struct _GstRtpG711Enc
{
GstBaseRTPPayload payload;
-
- gint frequency;
+ GstAdapter *adapter;
+
+ GstClockTime first_ts;
+ GstClockTime duration;
};
struct _GstRtpG711EncClass