On Thu, Dec 08, 2011 at 10:32:57PM +1100, Wayne Blaszczyk wrote: > I did read somewhere about using the latest clutter-gst might fix this. > With cogl-1.8.2, json-glib-0.14.2, clutter-1.8.2 with the attached patch, clutter-gst master cloned a couple of hours ago, clutter-gtk-1.0.4 and CLUTTER-DISABLE_RGB_VISUAL=1 in the environment I can play the audio of supported files.
The video is more like a static picture than a slideshow, but with some apparent camera shake that suggests it might be running through the video at a very very very low frame rate. So, I've now given up on totem. Vlc is working on all my on-disk/network files, so I'm resigned to building qt4 in future (without the skin, which needs qt4, vlc is very similar to ffplay). ĸen -- das eine Mal als Tragödie, das andere Mal als Farce
Found at https://bugzilla.gnome.org/show_bug.cgi?id=663127 Fall back to RGB visuals if RGBA is not supported. Supposedly cherry-picked for the 1.8 branch, but I can't find that. @@ -, +, @@ clutter/cogl/clutter-backend-cogl.c | 26 +++++++++++++++++++++++--- 1 files changed, 23 insertions(+), 3 deletions(-) --- a/clutter/cogl/clutter-backend-cogl.c +++ a/clutter/cogl/clutter-backend-cogl.c @@ -417,6 +417,7 @@ clutter_backend_cogl_create_context (ClutterBackend *backend, #endif CoglSwapChain *swap_chain = NULL; CoglOnscreenTemplate *onscreen_template = NULL; + gboolean status; if (backend->cogl_context) return TRUE; @@ -451,9 +452,28 @@ clutter_backend_cogl_create_context (ClutterBackend *backend, * Conceptually should we be able to check an onscreen_template * without more details about the CoglDisplay configuration? */ - if (!cogl_renderer_check_onscreen_template (backend->cogl_renderer, - onscreen_template, - error)) + status = cogl_renderer_check_onscreen_template (backend->cogl_renderer, + onscreen_template, + error); +#ifdef COGL_HAS_XLIB_SUPPORT + if (!status && clutter_x11_get_use_argb_visual ()) + { + g_clear_error (error); + /* It's possible that the current renderer doesn't support transparency + * in a swap_chain so lets see if we can fallback to not having any + * transparency... + * + * XXX: It might be nice to have a CoglRenderer feature we could + * explicitly check for ahead of time. + */ + cogl_swap_chain_set_has_alpha (swap_chain, FALSE); + status = cogl_renderer_check_onscreen_template (backend->cogl_renderer, + onscreen_template, + error); + } +#endif + + if (!status) goto error; backend->cogl_display = cogl_display_new (backend->cogl_renderer,
-- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
