mirror of
https://github.com/mpv-player/mpv
synced 2025-03-19 18:05:21 +00: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:
parent
ae2faad666
commit
ebcb5a7154
@ -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?
|
||||
|
Loading…
Reference in New Issue
Block a user