summaryrefslogtreecommitdiffstats
path: root/player/playloop.c
diff options
context:
space:
mode:
Diffstat (limited to 'player/playloop.c')
-rw-r--r--player/playloop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/player/playloop.c b/player/playloop.c
index a8c47d8e66..f7f92a2eda 100644
--- a/player/playloop.c
+++ b/player/playloop.c
@@ -771,7 +771,7 @@ void handle_force_window(struct MPContext *mpctx, bool reconfig)
// Pick whatever works
int config_format = 0;
for (int fmt = IMGFMT_START; fmt < IMGFMT_END; fmt++) {
- if (vo->driver->query_format(vo, fmt)) {
+ if (vo_query_format(vo, fmt)) {
config_format = fmt;
break;
}