summaryrefslogtreecommitdiff
path: root/gst/gstnicesrc.h
diff options
context:
space:
mode:
authorOlivier CrĂȘte <olivier.crete@collabora.co.uk>2008-08-04 15:35:27 -0400
committerOlivier CrĂȘte <olivier.crete@collabora.co.uk>2008-09-22 13:37:58 -0400
commitc8cd93a9a92d579f2a7090acea65e72180b358a4 (patch)
treea15694dbb1480bbcd88dffdc57639c299f177ffe /gst/gstnicesrc.h
parent02c9ae5914fbf72b4adb87f52e05b0aa5f863b64 (diff)
downloadlibnice-c8cd93a9a92d579f2a7090acea65e72180b358a4.tar.gz
Create a netbuffer directly instead of using gst_pad_buffer_alloc
Diffstat (limited to 'gst/gstnicesrc.h')
-rw-r--r--gst/gstnicesrc.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/gst/gstnicesrc.h b/gst/gstnicesrc.h
index 96e8f2a..bac19a2 100644
--- a/gst/gstnicesrc.h
+++ b/gst/gstnicesrc.h
@@ -40,6 +40,7 @@
#include <gst/gst.h>
#include <gst/base/gstbasesrc.h>
+#include <gst/netbuffer/gstnetbuffer.h>
#include <nice/nice.h>
@@ -66,8 +67,6 @@ struct _GstNiceSrc
guint stream_id;
guint component_id;
GMainLoop *mainloop;
- guint64 offset;
- GstFlowReturn flow_ret;
GstBuffer *outbuf;
gboolean unlocked;
GSource *idle_source;