diff options
author | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2009-01-19 00:04:43 +0200 |
---|---|---|
committer | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2009-01-19 00:04:43 +0200 |
commit | 79e1aa7cc7a9ac695c3af361bca72013ef272885 (patch) | |
tree | cc52764dfa4fab2cfc74c6aee5d71b27edbf014b /mplayer.c | |
parent | 3ba97da297e1e1a5ca9dabdda60cc6a62f77affc (diff) | |
parent | 39cb032fd184a62416f1e62d26e05576cfd8dbe4 (diff) | |
download | mpv-79e1aa7cc7a9ac695c3af361bca72013ef272885.tar.bz2 mpv-79e1aa7cc7a9ac695c3af361bca72013ef272885.tar.xz |
Merge svn changes up to r28341
Conflicts:
configure
libmpcodecs/native/rtjpegn.c
Diffstat (limited to 'mplayer.c')
-rw-r--r-- | mplayer.c | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -1947,7 +1947,7 @@ static int fill_audio_out_buffers(struct MPContext *mpctx) // handle audio-only case: // this is where mplayer sleeps during audio-only playback // to avoid 100% CPU use - sleep_time = (ao_data.outburst - bytes_to_write) * 1000 / ao_data.samplerate; + sleep_time = (ao_data.outburst - bytes_to_write) * 1000 / ao_data.bps; if (sleep_time < 10) sleep_time = 10; // limit to 100 wakeups per second usec_sleep(sleep_time * 1000); } @@ -2412,7 +2412,7 @@ static void print_version(void){ /* Test for CPU capabilities (and corresponding OS support) for optimizing */ GetCpuCaps(&gCpuCaps); -#ifdef ARCH_X86 +#if ARCH_X86 mp_msg(MSGT_CPLAYER,MSGL_INFO,"CPUflags: MMX: %d MMX2: %d 3DNow: %d 3DNow2: %d SSE: %d SSE2: %d\n", gCpuCaps.hasMMX,gCpuCaps.hasMMX2, gCpuCaps.has3DNow, gCpuCaps.has3DNowExt, @@ -2421,22 +2421,22 @@ static void print_version(void){ mp_msg(MSGT_CPLAYER,MSGL_INFO, MSGTR_CompiledWithRuntimeDetection); #else mp_msg(MSGT_CPLAYER,MSGL_INFO, MSGTR_CompiledWithCPUExtensions); -#ifdef HAVE_MMX +#if HAVE_MMX mp_msg(MSGT_CPLAYER,MSGL_INFO," MMX"); #endif -#ifdef HAVE_MMX2 +#if HAVE_MMX2 mp_msg(MSGT_CPLAYER,MSGL_INFO," MMX2"); #endif -#ifdef HAVE_3DNOW +#if HAVE_3DNOW mp_msg(MSGT_CPLAYER,MSGL_INFO," 3DNow"); #endif -#ifdef HAVE_3DNOWEX +#if HAVE_3DNOWEX mp_msg(MSGT_CPLAYER,MSGL_INFO," 3DNowEx"); #endif -#ifdef HAVE_SSE +#if HAVE_SSE mp_msg(MSGT_CPLAYER,MSGL_INFO," SSE"); #endif -#ifdef HAVE_SSE2 +#if HAVE_SSE2 mp_msg(MSGT_CPLAYER,MSGL_INFO," SSE2"); #endif mp_msg(MSGT_CPLAYER,MSGL_INFO,"\n"); |