mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-08-30 17:58:37 +08:00
input-v4l2: always use linear alpha blending
This commit is contained in:
committed by
Georges Basile Stavracas Neto
parent
3869cb83bc
commit
1cd8b6aaba
@@ -125,6 +125,7 @@ static void v4l2_prep_obs_frame(struct v4l2_data *data,
|
||||
|
||||
const enum video_format format = v4l2_to_obs_video_format(data->pixfmt);
|
||||
|
||||
frame->flags = OBS_SOURCE_FRAME_LINEAR_ALPHA;
|
||||
frame->width = data->width;
|
||||
frame->height = data->height;
|
||||
frame->format = format;
|
||||
|
||||
Reference in New Issue
Block a user