You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-04 22:03:09 +02:00
avcodec/d3d12va_encode: use correct none flag
NFC, it's still 0, but correct enum type so compilers won't complain. Signed-off-by: Kacper Michajłow <kasper93@gmail.com>
This commit is contained in:
@ -1154,7 +1154,7 @@ static int d3d12va_create_encoder_heap(AVCodecContext *avctx)
|
|||||||
|
|
||||||
D3D12_VIDEO_ENCODER_HEAP_DESC desc = {
|
D3D12_VIDEO_ENCODER_HEAP_DESC desc = {
|
||||||
.NodeMask = 0,
|
.NodeMask = 0,
|
||||||
.Flags = D3D12_VIDEO_ENCODER_FLAG_NONE,
|
.Flags = D3D12_VIDEO_ENCODER_HEAP_FLAG_NONE,
|
||||||
.EncodeCodec = ctx->codec->d3d12_codec,
|
.EncodeCodec = ctx->codec->d3d12_codec,
|
||||||
.EncodeProfile = ctx->profile->d3d12_profile,
|
.EncodeProfile = ctx->profile->d3d12_profile,
|
||||||
.EncodeLevel = ctx->level,
|
.EncodeLevel = ctx->level,
|
||||||
|
Reference in New Issue
Block a user