diff options
author | Hyunjun Ko <zzoon@igalia.com> | 2016-04-20 16:00:36 +0900 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2016-04-20 10:11:03 +0300 |
commit | 6a0b35bf3710240affe119ee362a0805e7a3fa85 (patch) | |
tree | b02e529cd3f752c853c4cc5772f13fe33c3916ab | |
parent | 6472482680e3adfd1c03798e9b9f74a280e2bbe4 (diff) |
gl/cocoa: Fix incompatible type warning
https://bugzilla.gnome.org/show_bug.cgi?id=765292
-rw-r--r-- | gst-libs/gst/gl/cocoa/gstglcaopengllayer.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gst-libs/gst/gl/cocoa/gstglcaopengllayer.m b/gst-libs/gst/gl/cocoa/gstglcaopengllayer.m index 45bd0dd0e..59ed09c23 100644 --- a/gst-libs/gst/gl/cocoa/gstglcaopengllayer.m +++ b/gst-libs/gst/gl/cocoa/gstglcaopengllayer.m @@ -126,7 +126,7 @@ _context_ready (gpointer data) } gst_gl_context_activate (self->draw_context, TRUE); - gst_gl_context_set_shared_with (self->draw_context, self->gst_gl_context); + gst_gl_context_set_shared_with (self->draw_context, GST_GL_CONTEXT (self->gst_gl_context)); if (!gst_gl_context_fill_info (self->draw_context, &error)) { GST_ERROR ("failed to fill wrapped context information: %s", error->message); return NULL; |