mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-17 21:14:47 +00:00
vulkan: fix sw_frame_deps counter
The code used as a basis was the buffer dependency code, where the counter was incremented after each buffer, but for the sw_frame dep API, we only support adding individual frames at a time.
This commit is contained in:
parent
4d3e96c90c
commit
aad40fed33
@ -618,6 +618,8 @@ int ff_vk_exec_add_dep_sw_frame(FFVulkanContext *s, FFVkExecContext *e,
|
|||||||
return AVERROR(ENOMEM);
|
return AVERROR(ENOMEM);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
e->nb_sw_frame_deps++;
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user