diff options
author | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2009-03-20 03:39:29 +0200 |
---|---|---|
committer | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2009-03-20 03:39:29 +0200 |
commit | ebcb5a7154af539d0b0fb869e0a70c66bbd6eda1 (patch) | |
tree | 859b757a3e60bc65be044b70296f530d1e6c81d0 | |
parent | ae2faad6669c313b7a5dd318baeee0bffdd47031 (diff) | |
download | mpv-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.
-rw-r--r-- | mplayer.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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? |