summaryrefslogtreecommitdiffstats
path: root/mplayer.c
diff options
context:
space:
mode:
authorUoti Urpala <uau@glyph.nonexistent.invalid>2011-01-17 16:31:45 +0200
committerUoti Urpala <uau@glyph.nonexistent.invalid>2011-01-17 16:31:45 +0200
commita4f687e1f0ad1ee3949c2316a8d20d7ba7033d25 (patch)
tree4b6ba71c64c672f7696fe18e879a5e598fbe9711 /mplayer.c
parent757e43c3f863453e5d17e4201c7c9ae2a58c5844 (diff)
downloadmpv-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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mplayer.c b/mplayer.c
index 893ae77694..b7d022bbe4 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -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