aboutsummaryrefslogtreecommitdiff
path: root/src/capture/xcomposite_drm.c
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2023-03-26 19:04:43 +0200
committerdec05eba <dec05eba@protonmail.com>2023-03-26 19:04:51 +0200
commitd92ecea69eab0db4e1c3a0e73fed10923374c3a8 (patch)
treed98b77274f93b070d1841dbabddc2c6375fec5b8 /src/capture/xcomposite_drm.c
parent0e5e547c21176b2d9c4b0a4ef790d78781ac0a31 (diff)
Remove yuv444 for now
Diffstat (limited to 'src/capture/xcomposite_drm.c')
-rw-r--r--src/capture/xcomposite_drm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/capture/xcomposite_drm.c b/src/capture/xcomposite_drm.c
index a4810a8..fbd96fc 100644
--- a/src/capture/xcomposite_drm.c
+++ b/src/capture/xcomposite_drm.c
@@ -376,6 +376,7 @@ static void gsr_capture_xcomposite_drm_tick(gsr_capture *cap, AVCodecContext *vi
(*frame)->color_primaries = video_codec_context->color_primaries;
(*frame)->color_trc = video_codec_context->color_trc;
(*frame)->colorspace = video_codec_context->colorspace;
+ (*frame)->chroma_location = video_codec_context->chroma_sample_location;
int res = av_hwframe_get_buffer(video_codec_context->hw_frames_ctx, *frame, 0);
if(res < 0) {