diff options
author | David Schleef <ds@schleef.org> | 2008-01-06 03:01:39 +0000 |
---|---|---|
committer | David Schleef <ds@schleef.org> | 2008-01-06 03:01:39 +0000 |
commit | b37e08cb29ddca72161a8098690ba52e5594153d (patch) | |
tree | a1323d58d34e815589e88792662d80e6f6ff2da3 /sys/glsink/gstglbuffer.h | |
parent | 540c7d46c5627d7c8f229756c4885dac90f77311 (diff) | |
download | gst-plugins-bad-b37e08cb29ddca72161a8098690ba52e5594153d.tar.gz gst-plugins-bad-b37e08cb29ddca72161a8098690ba52e5594153d.tar.bz2 gst-plugins-bad-b37e08cb29ddca72161a8098690ba52e5594153d.zip |
sys/glsink/: Handle xoverlay exposes correctly. This means glimagesink works correctly most of the time in totem (fu...
Original commit message from CVS:
* sys/glsink/glimagesink.c:
* sys/glsink/glimagesink.h:
* sys/glsink/gstglbuffer.h:
* sys/glsink/gstgldisplay.c:
* sys/glsink/gstgldisplay.h:
* sys/glsink/gstglupload.c:
Handle xoverlay exposes correctly. This means glimagesink works
correctly most of the time in totem (fullscreening being an
execption). Doesn't handle expose events directly to the GL
window.
Diffstat (limited to 'sys/glsink/gstglbuffer.h')
-rw-r--r-- | sys/glsink/gstglbuffer.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/glsink/gstglbuffer.h b/sys/glsink/gstglbuffer.h index cf2e0141..0cf27def 100644 --- a/sys/glsink/gstglbuffer.h +++ b/sys/glsink/gstglbuffer.h @@ -41,6 +41,9 @@ struct _GstGLBuffer { GType gst_gl_buffer_get_type (void); +#define gst_gl_buffer_ref(x) ((GstGLBuffer *)(gst_buffer_ref((GstBuffer *)(x)))) +#define gst_gl_buffer_unref(x) (gst_buffer_unref((GstBuffer *)(x))) + GstGLBuffer * gst_gl_buffer_new (GstGLDisplay *display, int width, int height); GstGLBuffer * gst_gl_buffer_new_with_format (GstGLDisplay *display, |