mirror of
https://gitee.com/openharmony/multimedia_av_codec
synced 2024-12-11 17:16:02 +00:00
【修改说明】fix avcodeclist core bug
Signed-off-by: yangxiaoyu <yangxiaoyu5@huawei.com>
This commit is contained in:
parent
4b01ead1d8
commit
2c36072757
@ -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;
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user