diff options
Diffstat (limited to 'player/command.c')
-rw-r--r-- | player/command.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/player/command.c b/player/command.c index 2b4650e062..943f7e887d 100644 --- a/player/command.c +++ b/player/command.c @@ -6539,6 +6539,9 @@ static void command_event(struct MPContext *mpctx, int event, void *arg) } if (event == MP_EVENT_WIN_STATE2) ctx->cached_window_scale = 0; + + if (event == MPV_EVENT_FILE_LOADED) + audio_update_media_role(mpctx); } void handle_command_updates(struct MPContext *mpctx) |