Skip to content

Commit

Permalink
EncoderConfigAV1: add missing override
Browse files Browse the repository at this point in the history
GetMaxBFrameCount needs to be overriden in the case
of AV1Config

Signed-off-by: Stéphane Cerveau <[email protected]>
  • Loading branch information
dabrain34 authored and zlatinski committed Dec 2, 2024
1 parent 7475af5 commit d78acbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vk_video_encoder/libs/VkVideoEncoder/VkEncoderConfigAV1.h
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ struct EncoderConfigAV1 : public EncoderConfig {

virtual bool InitRateControl() override;

virtual uint8_t GetMaxBFrameCount() { return static_cast<uint8_t>(av1EncodeCapabilities.maxBidirectionalCompoundReferenceCount); }
virtual uint8_t GetMaxBFrameCount() override { return static_cast<uint8_t>(av1EncodeCapabilities.maxBidirectionalCompoundReferenceCount); }

bool GetRateControlParameters(VkVideoEncodeRateControlInfoKHR* rcInfo,
VkVideoEncodeRateControlLayerInfoKHR* rcLayerInfo,
Expand Down

0 comments on commit d78acbe

Please sign in to comment.