summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2012-10-16 16:23:02 +0200
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2012-10-18 14:35:19 +0200
commit28fe3f7888bcbad7da159e5c3a2fbc2ac7e39151 (patch)
tree11fc1d103ff7436dcef4dde922f964e64a8cd2b9
parent610e33b049cd0d9d8076e22b7fa9634c82fe9088 (diff)
downloadgstreamer-plugins-bad-28fe3f7888bcbad7da159e5c3a2fbc2ac7e39151.tar.gz
eglglessink: Also commit missing changes to the header file
-rw-r--r--ext/eglgles/gsteglglessink.h14
1 files changed, 11 insertions, 3 deletions
diff --git a/ext/eglgles/gsteglglessink.h b/ext/eglgles/gsteglglessink.h
index acc6e2611..231a57c92 100644
--- a/ext/eglgles/gsteglglessink.h
+++ b/ext/eglgles/gsteglglessink.h
@@ -46,6 +46,8 @@
#define __GST_EGLGLESSINK_H__
#include <gst/gst.h>
+#include <gst/video/gstvideosink.h>
+#include <gst/base/gstdataqueue.h>
#include <EGL/egl.h>
#include <EGL/eglext.h>
@@ -228,13 +230,12 @@ struct _GstEglGlesSink
GstVideoFormat format;
GstVideoRectangle display_region;
GstCaps *sinkcaps;
- GstCaps *current_caps;
+ GstCaps *current_caps, *configured_caps;
GstEglGlesImageFmt *selected_fmt;
GstEglGlesSinkRenderingPath rendering_path;
- GstEglGlesRenderContext *eglglesctx;
+ GstEglGlesRenderContext eglglesctx;
- GMutex *flow_lock;
GList *supported_fmts;
/* Runtime flags */
@@ -245,6 +246,13 @@ struct _GstEglGlesSink
gboolean have_texture;
gboolean egl_started;
+ GThread *thread;
+ gboolean thread_running;
+ GstDataQueue *queue;
+ GCond *render_cond;
+ GMutex *render_lock;
+ GstFlowReturn last_flow;
+
/* Properties */
gboolean create_window;
gboolean force_rendering_slow;