mirror of
https://github.com/mpv-player/mpv
synced 2025-05-02 16:20:25 +00:00
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
8527102121
commit
4d6d3a3455
@ -997,9 +997,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
Block a user