1
0
mirror of https://github.com/mpv-player/mpv synced 2025-03-10 08:13:03 +00:00

vo_rpi: fix argument name

This is data not arg.
This commit is contained in:
Dudemanguy 2021-06-08 10:28:10 -05:00
parent 0043c7d9ee
commit 1b8f10f54a

View File

@ -749,8 +749,8 @@ static int control(struct vo *vo, uint32_t request, void *data)
*(double *)data = p->display_fps;
return VO_TRUE;
case VOCTRL_GET_DISPLAY_RES:
((int *)arg)[0] = p->w;
((int *)arg)[1] = p->h;
((int *)data)[0] = p->w;
((int *)data)[1] = p->h;
return VO_TRUE;
}