diff options
author | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-06-09 12:10:42 +0000 |
---|---|---|
committer | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-06-09 12:10:42 +0000 |
commit | 1e7ad12bf48266b911fb6d99e2200ecf3050af2b (patch) | |
tree | 5532a239360c1787f19f4ca4ca37e5a7a2cd2e6a | |
parent | 3b377a458b75a12b78473b5a5bcd1f3061f04d18 (diff) |
libmpeg2-altivec patch by Magnus Damm <damm@opensource.se>:
Make sure that altivec gets enabled in libmpeg2
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10268 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r-- | libmpcodecs/vd_libmpeg2.c | 2 |
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 |