Skip to content

Commit

Permalink
Fix Vulkan video build.
Browse files Browse the repository at this point in the history
  • Loading branch information
Themaister committed Nov 1, 2023
1 parent 5647c2b commit 0ff5245
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions video/ffmpeg_hw_device.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -100,12 +100,12 @@ struct FFmpegHWDevice::Impl
vk->nb_encode_queues = 0;
#endif

vk->lock_queue = [](AVHWDeviceContext *ctx, int, int) {
vk->lock_queue = [](AVHWDeviceContext *ctx, uint32_t, uint32_t) {
auto *self = static_cast<Impl *>(ctx->user_opaque);
self->device->external_queue_lock();
};

vk->unlock_queue = [](AVHWDeviceContext *ctx, int, int) {
vk->unlock_queue = [](AVHWDeviceContext *ctx, uint32_t, uint32_t) {
auto *self = static_cast<Impl *>(ctx->user_opaque);
self->device->external_queue_unlock();
};
Expand Down

0 comments on commit 0ff5245

Please sign in to comment.