imageinfo.cpp: adopt to last libstb changes

This commit is contained in:
2019-01-02 18:59:05 +01:00
parent 6282d0a266
commit 706027d792

View File

@@ -25,7 +25,7 @@
#include <config.h> #include <config.h>
#endif #endif
#if HAVE_CONFIG_HAL_H #if USE_STB_HAL
#include <version_hal.h> #include <version_hal.h>
#endif #endif
@@ -357,11 +357,13 @@ void CImageInfo::InitInfoData()
v_info.push_back({g_Locale->getText(LOCALE_IMAGEINFO_VCS), VCS}); v_info.push_back({g_Locale->getText(LOCALE_IMAGEINFO_VCS), VCS});
#endif #endif
#if HAVE_CONFIG_HAL_H #if USE_STB_HAL
hal_libversion_t ver;
hal_get_lib_version(&ver);
//libstb-hal version //libstb-hal version
v_info.push_back({"libstb_hal:", getPackageString()}); v_info.push_back({"libstb-hal:", ver.vVersion});
//libstb-hal git status //libstb-hal git status
v_info.push_back({g_Locale->getText(LOCALE_IMAGEINFO_VCS), getPackageVersionGit()}); v_info.push_back({g_Locale->getText(LOCALE_IMAGEINFO_VCS), ver.vGitDescribe});
#endif #endif
//internal api versions //internal api versions