summaryrefslogtreecommitdiffstats
path: root/gst/goom
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.net>2008-04-15 16:58:36 +0000
committerTim-Philipp Müller <tim@centricular.net>2008-04-15 16:58:36 +0000
commitedf6625c91c3f6f94d12b8e4fd9a1e9e61e392d7 (patch)
treeac6cc27abaf973801f661581617750ad2769ea92 /gst/goom
parentc731549a5adb3495f203a5fdaa6742cb4d8dde1f (diff)
gst/goom/plugin_info.c: Disable altivec optimisations for 32-bit PPC as well to make things build properly on all PPC...
Original commit message from CVS: * gst/goom/plugin_info.c: (setOptimizedMethods): Disable altivec optimisations for 32-bit PPC as well to make things build properly on all PPC systems. Fixes #528143
Diffstat (limited to 'gst/goom')
-rw-r--r--gst/goom/plugin_info.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gst/goom/plugin_info.c b/gst/goom/plugin_info.c
index 75cacc6e..cb2f58b2 100644
--- a/gst/goom/plugin_info.c
+++ b/gst/goom/plugin_info.c
@@ -64,7 +64,8 @@ setOptimizedMethods (PluginInfo * p)
#endif
#endif /* HAVE_CPU_I386 */
-/* disable until someone finds out what to use here instead of CPU_OPTION_64_BITS */
+/* disable all PPC stuff until someone finds out what to use here instead of
+ * CPU_OPTION_64_BITS, and until someone fixes the assembly build for ppc */
#if 0
#ifdef HAVE_CPU_PPC64
if ((cpuFlavour & CPU_OPTION_64_BITS) != 0) {
@@ -72,7 +73,6 @@ setOptimizedMethods (PluginInfo * p)
p->methods.zoom_filter = ppc_zoom_generic;
}
#endif /* HAVE_CPU_PPC64 */
-#endif
#ifdef HAVE_CPU_PPC
if ((cpuFlavour & OIL_IMPL_FLAG_ALTIVEC) != 0) {
@@ -83,6 +83,7 @@ setOptimizedMethods (PluginInfo * p)
p->methods.zoom_filter = ppc_zoom_generic;
}
#endif /* HAVE_CPU_PPC */
+#endif
cpuFlavour = 0; /* trick compiler into thinking variable is used */
}