mirror of https://github.com/mpv-player/mpv
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
This commit is contained in:
parent
3b377a458b
commit
1e7ad12bf4
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue