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 | |
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.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | sys/glsink/glimagesink.c | 3 |
2 files changed, 8 insertions, 0 deletions
@@ -1,3 +1,8 @@ +2005-05-14 David Schleef <ds@schleef.org> + + * sys/glsink/glimagesink.c: And remember to set the context + on the current thread, since there may be other glimagesinks. + 2005-05-13 David Schleef <ds@schleef.org> * sys/glsink/glimagesink.c: 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); |