【修改说明】fix avcodeclist core bug

Signed-off-by: yangxiaoyu <yangxiaoyu5@huawei.com>
This commit is contained in:
yangxiaoyu 2023-04-04 08:04:20 +00:00
parent 4b01ead1d8
commit 2c36072757
2 changed files with 2 additions and 2 deletions

View File

@ -209,7 +209,7 @@ std::string AVCodecListCore::FindAudioDecoder(const Format &format)
return FindCodec(format, AVCODEC_TYPE_AUDIO_DECODER);
}
CapabilityData GetCapability(std::string name)
CapabilityData AVCodecListCore::GetCapabilityData(std::string name)
{
std::lock_guard<std::mutex> lock(mutex_);
CapabilityData capData;

View File

@ -29,7 +29,7 @@ public:
std::string FindVideoDecoder(const Format &format);
std::string FindAudioEncoder(const Format &format);
std::string FindAudioDecoder(const Format &format);
CapabilityData GetCapability(std::string name);
CapabilityData GetCapabilityData(std::string name);
private:
bool CheckBitrate(const Format &format, const CapabilityData &data);