diff options
author | David Schleef <ds@schleef.org> | 2005-05-14 07:12:03 +0000 |
---|---|---|
committer | David Schleef <ds@schleef.org> | 2005-05-14 07:12:03 +0000 |
commit | bb2e13a2f5474e5ffbffddfc6a1683a70531ffb8 (patch) | |
tree | 44b9782af77935b0db275765537511412ceb73f4 /sys | |
parent | 5b32cb171e2c3a236aa1281d41febec8da5275a7 (diff) | |
download | gst-plugins-bad-bb2e13a2f5474e5ffbffddfc6a1683a70531ffb8.tar.gz gst-plugins-bad-bb2e13a2f5474e5ffbffddfc6a1683a70531ffb8.tar.bz2 gst-plugins-bad-bb2e13a2f5474e5ffbffddfc6a1683a70531ffb8.zip |
sys/glsink/glimagesink.c: And remember to set the context on the current thread, since there may be other glimagesinks.
Original commit message from CVS:
* sys/glsink/glimagesink.c: And remember to set the context
on the current thread, since there may be other glimagesinks.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/glsink/glimagesink.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/glsink/glimagesink.c b/sys/glsink/glimagesink.c index 9eb03177..ce2303b6 100644 --- a/sys/glsink/glimagesink.c +++ b/sys/glsink/glimagesink.c @@ -452,6 +452,9 @@ gst_glimagesink_chain (GstPad * pad, GstData * data) glimagesink->time = GST_BUFFER_TIMESTAMP (buf); } + glXMakeCurrent (glimagesink->display, glimagesink->window, + glimagesink->context); + if (glimagesink->parent_window) { XGetWindowAttributes (glimagesink->display, glimagesink->parent_window, &attr); |