diff options
author | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2011-01-17 16:31:45 +0200 |
---|---|---|
committer | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2011-01-17 16:31:45 +0200 |
commit | a4f687e1f0ad1ee3949c2316a8d20d7ba7033d25 (patch) | |
tree | 4b6ba71c64c672f7696fe18e879a5e598fbe9711 /mplayer.c | |
parent | 757e43c3f863453e5d17e4201c7c9ae2a58c5844 (diff) | |
download | mpv-a4f687e1f0ad1ee3949c2316a8d20d7ba7033d25.tar.bz2 mpv-a4f687e1f0ad1ee3949c2316a8d20d7ba7033d25.tar.xz |
cleanup: mplayer.c: use VFCAP_ names instead of numeric values
Diffstat (limited to 'mplayer.c')
-rw-r--r-- | mplayer.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -3194,7 +3194,7 @@ static void run_playloop(struct MPContext *mpctx) aq_sleep_time += mpctx->time_frame; // flag 256 means: libvo driver does its timing (dvb card) if (mpctx->time_frame > 0.001 - && !(mpctx->sh_video->output_flags&256)) + && !(mpctx->sh_video->output_flags & VFCAP_TIMER)) mpctx->time_frame = timing_sleep(mpctx, mpctx->time_frame); mpctx->time_frame += mpctx->video_out->flip_queue_offset; @@ -4436,7 +4436,7 @@ if(!reinit_video_chain(mpctx)) { } } - if(mpctx->sh_video->output_flags & 0x08 && vo_spudec) + if(mpctx->sh_video->output_flags & VFCAP_SPU && vo_spudec) spudec_set_hw_spu(vo_spudec,mpctx->video_out); #ifdef CONFIG_FREETYPE |