compositor-drm: Pass the right stride to the vaapi recorder
It takes the stride in bytes, not pixels. The bug was hidden when using va intel-driver 1.2.1 because it would ignore the stride from user and set the surface state in a wrong way. https://bugs.freedesktop.org/show_bug.cgi?id=77495
This commit is contained in:
committed by
Kristian Høgsberg
parent
304996d182
commit
a61b949eb8
@@ -2576,7 +2576,7 @@ recorder_frame_notify(struct wl_listener *listener, void *data)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
vaapi_recorder_frame(output->recorder, fd, output->current->stride / 4);
|
vaapi_recorder_frame(output->recorder, fd, output->current->stride);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void *
|
static void *
|
||||||
|
|||||||
Reference in New Issue
Block a user