summaryrefslogtreecommitdiffstats
path: root/mplayer.c
diff options
context:
space:
mode:
authorUoti Urpala <uau@symbol.nonexistent.invalid>2008-04-24 08:16:11 +0300
committerUoti Urpala <uau@symbol.nonexistent.invalid>2008-04-25 07:15:07 +0300
commitbb679dd40a80e72272dec0c8621b888f4365852c (patch)
tree61673a17f7a3296e179da6fbda6c11b82c1596e1 /mplayer.c
parent60f104d4aaf9f1f990045ca255c343e77ed3078c (diff)
downloadmpv-bb679dd40a80e72272dec0c8621b888f4365852c.tar.bz2
mpv-bb679dd40a80e72272dec0c8621b888f4365852c.tar.xz
Remove global vo_flags
Move the information to struct sh_video field.
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 5f06ab8fc8..d2bee07ce4 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -2123,7 +2123,7 @@ static int sleep_until_update(struct MPContext *mpctx, float *time_frame,
//============================== SLEEP: ===================================
// flag 256 means: libvo driver does its timing (dvb card)
- if (*time_frame > 0.001 && !(vo_flags&256))
+ if (*time_frame > 0.001 && !(mpctx->sh_video->output_flags&256))
*time_frame = timing_sleep(*time_frame);
return frame_time_remaining;
}
@@ -3551,7 +3551,7 @@ if(!reinit_video_chain(mpctx)) {
}
}
- if(vo_flags & 0x08 && vo_spudec)
+ if(mpctx->sh_video->output_flags & 0x08 && vo_spudec)
spudec_set_hw_spu(vo_spudec,mpctx->video_out);
#ifdef HAVE_FREETYPE