diff options
author | Uoti Urpala <uau@symbol.nonexistent.invalid> | 2008-04-24 08:16:11 +0300 |
---|---|---|
committer | Uoti Urpala <uau@symbol.nonexistent.invalid> | 2008-04-25 07:15:07 +0300 |
commit | bb679dd40a80e72272dec0c8621b888f4365852c (patch) | |
tree | 61673a17f7a3296e179da6fbda6c11b82c1596e1 /mplayer.c | |
parent | 60f104d4aaf9f1f990045ca255c343e77ed3078c (diff) | |
download | mpv-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |