Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 331448 Details for
Bug 445982
[gnome overlay] media-libs/clutter-gst-1.6.0 with media-libs/cogl-1.12.0 - In function 'clutter_gst_hw_upload': ./clutter-gst-video-sink.c:1099:5: error: unknown type name 'GLuint'
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
clutter-gst-1.6.0_cogl-1.12
clutter-gst-1.6.0_cogl-1.12.patch (text/plain), 1.27 KB, created by
Rick Harris
on 2012-12-04 21:05:19 UTC
(
hide
)
Description:
clutter-gst-1.6.0_cogl-1.12
Filename:
MIME Type:
Creator:
Rick Harris
Created:
2012-12-04 21:05:19 UTC
Size:
1.27 KB
patch
obsolete
>From 1ae4c3e7b1e2c33892590f9ac7bf0e892a5bcbd5 Mon Sep 17 00:00:00 2001 >From: Tomas Frydrych <tomas@sleepfive.com> >Date: Thu, 11 Oct 2012 08:53:03 +0100 >Subject: [PATCH] ClutterGstVideoSink: fix includes so we can build against > cogl-1.12 > >Cogl 1.12 exposes various GL types through the public API but it does not >pull in the GL type definitions through its public headers; specifically >compilation will fail due to undefined GL_TEXTURE_2D. So include the headers >the hard way. >--- > clutter-gst/clutter-gst-video-sink.c | 17 +++++++++++++++++ > 1 file changed, 17 insertions(+) > >diff --git a/clutter-gst/clutter-gst-video-sink.c b/clutter-gst/clutter-gst-video-sink.c >index 9b4b53c..f092581 100644 >--- a/clutter-gst/clutter-gst-video-sink.c >+++ b/clutter-gst/clutter-gst-video-sink.c >@@ -42,6 +42,23 @@ > #include "config.h" > #endif > >+/* >+ * cogl-1.12 exposes generic GL types in the API, but not the actual includes. >+ */ >+#include <cogl/cogl.h> >+ >+#ifdef COGL_HAS_GLES >+#include <GLES/gl.h> >+#include <GLES/glext.h> >+#elif COGL_HAS_GLES2 >+#include <GLES2/gl2.h> >+#include <GLES2/gl2ext.h> >+#elif COGL_HAS_GL >+#include <GL/gl.h> >+#else >+#error Unknown cogl configuration >+#endif >+ > #include "clutter-gst-video-sink.h" > #include "clutter-gst-util.h" > #include "clutter-gst-private.h" >-- >1.7.10.4 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 445982
:
331446
| 331448