Skip to content

Commit f90f39d

Browse files
committed
player/command: fix missing property update for some hwdec changes
fixes #16710
1 parent f160ca0 commit f90f39d

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

player/command.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7969,6 +7969,9 @@ void mp_option_run_callback(struct MPContext *mpctx, struct mp_option_callback *
79697969
struct mp_decoder_wrapper *dec = track ? track->dec : NULL;
79707970
if (dec) {
79717971
mp_decoder_wrapper_control(dec, VDCTRL_REINIT, NULL);
7972+
// filter chain might not change (which normally triggers this), but
7973+
// hwdec will.
7974+
mp_notify(mpctx, MPV_EVENT_VIDEO_RECONFIG, NULL);
79727975
double last_pts = mpctx->video_pts;
79737976
if (last_pts != MP_NOPTS_VALUE)
79747977
queue_seek(mpctx, MPSEEK_ABSOLUTE, last_pts, MPSEEK_EXACT, 0);

0 commit comments

Comments
 (0)