1
mirror of https://github.com/mpv-player/mpv synced 2024-08-04 14:59:58 +02:00

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.
This commit is contained in:
Uoti Urpala 2009-03-20 03:39:29 +02:00
parent ae2faad666
commit ebcb5a7154

View File

@ -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?