aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--libmpcodecs/vd_libmpeg2.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libmpcodecs/vd_libmpeg2.c b/libmpcodecs/vd_libmpeg2.c
index ff150bfaa6..61626c8378 100644
--- a/libmpcodecs/vd_libmpeg2.c
+++ b/libmpcodecs/vd_libmpeg2.c
@@ -47,6 +47,8 @@ static int init(sh_video_t *sh){
accel |= MPEG2_ACCEL_X86_MMXEXT;
if(gCpuCaps.has3DNow)
accel |= MPEG2_ACCEL_X86_3DNOW;
+ if(gCpuCaps.hasAltiVec)
+ accel |= MPEG2_ACCEL_PPC_ALTIVEC;
#ifdef HAVE_MLIB
accel |= MPEG2_ACCEL_MLIB;
#endif