History

lavfi/vf_scale_vulkan: fix build

This was broken in d42b410e05ad1c4d6e74aa981b4a4423103291fb.

rcombs committed 4 years ago

Commit 3e580351 parent bb6d9a01 file · +2 −2Browse files

Unified · Split

libavfilter/vf_scale_vulkan.c+2−2
@@ -239,14 +239,14 @@ static av_cold int init_filter(AVFilterContext *ctx, AVFrame *in) · 238 unmodified lines
239239 RET(ff_vk_init_compute_pipeline(vkctx, s->pl));
240240
241241 if (s->vkctx.output_format != s->vkctx.input_format) {
242− const struct LumaCoefficients *lcoeffs;
242+ const AVLumaCoefficients *lcoeffs;
243243 double tmp_mat[3][3];
244244
245245 struct {
246246 float yuv_matrix[4][4];
247247 } *par;
248248
249− lcoeffs = ff_get_luma_coefficients(in->colorspace);
249+ lcoeffs = av_csp_luma_coeffs_from_avcsp(in->colorspace);
250250 if (!lcoeffs) {
251251 av_log(ctx, AV_LOG_ERROR, "Unsupported colorspace\n");
252252 return AVERROR(EINVAL);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t