summaryrefslogtreecommitdiffstats
path: root/mplayer.c
diff options
context:
space:
mode:
authorUoti Urpala <uau@glyph.nonexistent.invalid>2009-03-20 03:39:29 +0200
committerUoti Urpala <uau@glyph.nonexistent.invalid>2009-03-20 03:39:29 +0200
commitebcb5a7154af539d0b0fb869e0a70c66bbd6eda1 (patch)
tree859b757a3e60bc65be044b70296f530d1e6c81d0 /mplayer.c
parentae2faad6669c313b7a5dd318baeee0bffdd47031 (diff)
downloadmpv-ebcb5a7154af539d0b0fb869e0a70c66bbd6eda1.tar.bz2
mpv-ebcb5a7154af539d0b0fb869e0a70c66bbd6eda1.tar.xz
Fix video stream switch code typo
Restore accidentally dropped '!' to fixed-vo test in reinit_video_chain(). It could have caused some issues when switching video streams. Probably nobody noticed because files with multiple video streams are rare.
Diffstat (limited to 'mplayer.c')
-rw-r--r--mplayer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mplayer.c b/mplayer.c
index 706d21cede..1690f75ddb 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -2060,7 +2060,7 @@ int reinit_video_chain(struct MPContext *mpctx)
sh_video_t * const sh_video = mpctx->sh_video;
double ar=-1.0;
//================== Init VIDEO (codec & libvo) ==========================
- if(opts->fixed_vo || !(mpctx->initialized_flags&INITIALIZED_VO)){
+ if (!opts->fixed_vo || !(mpctx->initialized_flags & INITIALIZED_VO)) {
current_module="preinit_libvo";
//shouldn't we set dvideo->id=-2 when we fail?