diff options
author | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-12-30 20:32:57 +0000 |
---|---|---|
committer | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-12-30 20:32:57 +0000 |
commit | 44d581c00339135ea797674e9a28f02ef0394962 (patch) | |
tree | be6b8a9717bc286529e25dc074843a6dab4b1510 /dec_audio.c | |
parent | 31d7699946a582f66c17c1834aeeefde4e5b9661 (diff) | |
download | mpv-44d581c00339135ea797674e9a28f02ef0394962.tar.bz2 mpv-44d581c00339135ea797674e9a28f02ef0394962.tar.xz |
proper a52_init accel flags
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3907 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'dec_audio.c')
-rw-r--r-- | dec_audio.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/dec_audio.c b/dec_audio.c index 05c4ad7f82..fbfe78631e 100644 --- a/dec_audio.c +++ b/dec_audio.c @@ -537,6 +537,10 @@ if(gCpuCaps.has3DNow){ case AFM_A52: { // Dolby AC3 audio: int accel=0; // should contain mmx/sse/etc flags + if(gCpuCaps.hasSSE) accel|=MM_ACCEL_X86_SSE; + if(gCpuCaps.hasMMX) accel|=MM_ACCEL_X86_MMX; + if(gCpuCaps.hasMMX2) accel|=MM_ACCEL_X86_MMXEXT; + if(gCpuCaps.has3DNow) accel|=MM_ACCEL_X86_3DNOW; a52_samples=a52_init (accel); if (a52_samples == NULL) { mp_msg(MSGT_DECAUDIO,MSGL_ERR,"A52 init failed\n"); |