mirror of
https://github.com/mpv-player/mpv
synced 2025-01-13 18:45:25 +00:00
vo_drm: fix return value for void function
This commit is contained in:
parent
dedb15a429
commit
445527d45c
@ -351,7 +351,7 @@ static int setup_vo_crtc(struct vo *vo)
|
||||
{
|
||||
struct priv *p = vo->priv;
|
||||
if (p->active)
|
||||
return;
|
||||
return 0;
|
||||
p->old_crtc = drmModeGetCrtc(p->fd, p->dev->crtc);
|
||||
int ret = drmModeSetCrtc(p->fd, p->dev->crtc,
|
||||
p->dev->bufs[p->dev->front_buf + BUF_COUNT - 1].fb,
|
||||
|
Loading…
Reference in New Issue
Block a user