From fb5f7475d72418f40ef55e2ee87cc670a9a9a710 Mon Sep 17 00:00:00 2001 From: Matthew Allum Date: Fri, 23 Jun 2006 15:26:43 +0000 Subject: [PATCH] 2006-06-23 Matthew Allum * clutter/clutter-video-texture.c: (clutter_video_texture_new): Small fix for video playback on Big Endian. See #99 --- ChangeLog | 5 +++++ clutter/clutter-video-texture.c | 2 ++ 2 files changed, 7 insertions(+) diff --git a/ChangeLog b/ChangeLog index 4c909f0..aed9961 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-06-23 Matthew Allum + + * clutter/clutter-video-texture.c: (clutter_video_texture_new): + Small fix for video playback on Big Endian. See #99 + 2006-06-23 Iain Holmes * clutter/clutter-label.h: diff --git a/clutter/clutter-video-texture.c b/clutter/clutter-video-texture.c index 57ef6d1..eeda067 100644 --- a/clutter/clutter-video-texture.c +++ b/clutter/clutter-video-texture.c @@ -903,6 +903,8 @@ clutter_video_texture_new (void) video_texture = g_object_new (CLUTTER_TYPE_VIDEO_TEXTURE, "tiled", FALSE, "pixel-format", GL_RGB, + /* As RGB below needed for Big Endian */ + "pixel-type", GL_UNSIGNED_BYTE, NULL); return CLUTTER_ACTOR(video_texture); -- 2.7.4