Skip to content

Commit

Permalink
HEVC 10bit hwデコードの検出ミスを修正。( #63 )
Browse files Browse the repository at this point in the history
  • Loading branch information
rigaya committed Sep 2, 2022
1 parent 7d60f1d commit 4ba83ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion VCECore/vce_device.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ amf::AMFCapsPtr VCEDevice::getDecCaps(RGY_CODEC codec) {
if (codec_uvd_10bit_name != nullptr) {
amf::AMFCapsPtr decodeCaps10bit;
amf::AMFComponentPtr p_decode10bit;
if (m_factory->CreateComponent(m_context, codec_uvd_name, &p_decode10bit) == AMF_OK
if (m_factory->CreateComponent(m_context, codec_uvd_10bit_name, &p_decode10bit) == AMF_OK
&& p_decode10bit->GetCaps(&decodeCaps10bit) == AMF_OK) {
decodeCaps->SetProperty(CAP_10BITDEPTH, true);
p_decode10bit->Terminate();
Expand Down

0 comments on commit 4ba83ec

Please sign in to comment.