# HG changeset patch
# User Diego 'Flameeyes' Pettenò <[EMAIL PROTECTED]>
# Date 1181396694 -7200
# Node ID 069fd231ce517980033ee11696f09bcb2a35be1f
# Parent 9de08f498b630c24ce6678260e3ada49e22ae07d
Fix goom for the new cpu_accel interface.
diff -r 069fd231ce517980033ee11696f09bcb2a35be1f -r
9de08f498b630c24ce6678260e3ada49e22ae07d src/post/goom/xine_goom.c
--- a/src/post/goom/xine_goom.c Sat Jun 09 15:44:54 2007 +0200
+++ b/src/post/goom/xine_goom.c Sat Jun 09 15:44:34 2007 +0200
@@ -39,6 +39,7 @@
#include "config.h"
#include "xine_internal.h"
#include "xineutils.h"
+#include "cpu_accel.h"
#include "post.h"
#include "goom.h"
@@ -503,8 +504,7 @@ static void goom_port_put_buffer (xine_a
dest_ptr = frame -> base[0];
goom_frame_end = goom_frame + 4 * (this->width_back *
this->height_back);
- if ((this->csc_method == 1) &&
- (xine_mm_accel() & MM_ACCEL_X86_MMX)) {
+ if ((this->csc_method == 1) && CHECK_MMX ) {
int plane_ptr = 0;
while (goom_frame < goom_frame_end) {
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Xine-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xine-cvslog