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
This commit is contained in:
Matthew Allum 2006-06-23 15:26:43 +00:00
parent 5a01d0ab1c
commit fb5f7475d7
2 changed files with 7 additions and 0 deletions

View File

@ -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> 2006-06-23 Iain Holmes <iain@openedhand.com>
* clutter/clutter-label.h: * clutter/clutter-label.h:

View File

@ -903,6 +903,8 @@ clutter_video_texture_new (void)
video_texture = g_object_new (CLUTTER_TYPE_VIDEO_TEXTURE, video_texture = g_object_new (CLUTTER_TYPE_VIDEO_TEXTURE,
"tiled", FALSE, "tiled", FALSE,
"pixel-format", GL_RGB, "pixel-format", GL_RGB,
/* As RGB below needed for Big Endian */
"pixel-type", GL_UNSIGNED_BYTE,
NULL); NULL);
return CLUTTER_ACTOR(video_texture); return CLUTTER_ACTOR(video_texture);