2006-06-23 Matthew Allum <mallum@openedhand.com>
authorMatthew Allum <mallum@openedhand.com>
Fri, 23 Jun 2006 15:26:43 +0000 (15:26 +0000)
committerMatthew Allum <mallum@openedhand.com>
Fri, 23 Jun 2006 15:26:43 +0000 (15:26 +0000)
        * clutter/clutter-video-texture.c: (clutter_video_texture_new):
        Small fix for video playback on Big Endian. See #99

ChangeLog
clutter/clutter-video-texture.c

index 4c909f0..aed9961 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-06-23  Matthew Allum  <mallum@openedhand.com>
+
+       * clutter/clutter-video-texture.c: (clutter_video_texture_new):
+       Small fix for video playback on Big Endian. See #99
+
 2006-06-23  Iain Holmes  <iain@openedhand.com>
 
        * clutter/clutter-label.h:
index 57ef6d1..eeda067 100644 (file)
@@ -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);