mirror of https://github.com/mpv-player/mpv
player: fix coding style
I'm also not sure whether this condition doesn't subtly break a lot of things.
This commit is contained in:
parent
31bce1cbe7
commit
cb52cfae1a
|
@ -989,9 +989,9 @@ static void handle_playback_restart(struct MPContext *mpctx)
|
||||||
struct MPOpts *opts = mpctx->opts;
|
struct MPOpts *opts = mpctx->opts;
|
||||||
|
|
||||||
// Do not wait for video stream if it only has sparse frames.
|
// Do not wait for video stream if it only has sparse frames.
|
||||||
if (mpctx->vo_chain &&
|
if (mpctx->vo_chain && mpctx->vo_chain->is_sparse &&
|
||||||
mpctx->vo_chain->is_sparse &&
|
mpctx->video_status < STATUS_READY)
|
||||||
mpctx->video_status < STATUS_READY) {
|
{
|
||||||
mpctx->video_status = STATUS_READY;
|
mpctx->video_status = STATUS_READY;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue