Skip to content

Commit

Permalink
AMFのビルドバージョンの表示を追加。
Browse files Browse the repository at this point in the history
  • Loading branch information
rigaya committed Dec 23, 2019
1 parent b231cbc commit fb7aec9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions VCECore/vce_core.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2290,8 +2290,9 @@ tstring VCECore::GetEncoderParam() {
mes += strsprintf(_T("%s\n"), get_encoder_version());
mes += strsprintf(_T("OS Version %s %s (%d)\n"), osversionstr.c_str(), rgy_is_64bit_os() ? _T("x64") : _T("x86"), osversioninfo.dwBuildNumber);
mes += strsprintf(_T("CPU: %s\n"), cpu_info);
mes += strsprintf(_T("GPU: %s, AMF %d.%d.%d\n"), gpu_info.c_str(),
(int)AMF_GET_MAJOR_VERSION(m_AMFRuntimeVersion), (int)AMF_GET_MINOR_VERSION(m_AMFRuntimeVersion), (int)AMF_GET_SUBMINOR_VERSION(m_AMFRuntimeVersion));
mes += strsprintf(_T("GPU: %s, AMF Runtime %d.%d.%d / SDK %d.%d.%d\n"), gpu_info.c_str(),
(int)AMF_GET_MAJOR_VERSION(m_AMFRuntimeVersion), (int)AMF_GET_MINOR_VERSION(m_AMFRuntimeVersion), (int)AMF_GET_SUBMINOR_VERSION(m_AMFRuntimeVersion),
AMF_VERSION_MAJOR, AMF_VERSION_MINOR, AMF_VERSION_RELEASE);

auto inputInfo = m_pFileReader->GetInputFrameInfo();
mes += strsprintf(_T("Input Info: %s\n"), m_pFileReader->GetInputMessage());
Expand Down

0 comments on commit fb7aec9

Please sign in to comment.