mirror of
https://github.com/mpv-player/mpv
synced 2025-03-09 23:58:06 +00:00
vo_rpi: fix argument name
This is data not arg.
This commit is contained in:
parent
0043c7d9ee
commit
1b8f10f54a
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user