first work gst decoder

This commit is contained in:
Joe Dong
2023-08-28 20:50:19 +08:00
parent 9ddeb79ed1
commit 78dc620f33
7 changed files with 117 additions and 31 deletions
+3
View File
@@ -66,6 +66,9 @@ if (USE_GST_HW_DECODER)
message(FATAL_ERROR "gstreamer-1.0 is not found")
endif ()
pkg_search_module(GST_APP REQUIRED gstreamer-app-1.0)
if (NOT GST_APP_FOUND)
message(FATAL_ERROR "gstreamer-app-1.0 is not found")
endif ()
endif ()
execute_process(COMMAND uname -m OUTPUT_VARIABLE MACHINES)
execute_process(COMMAND getconf LONG_BIT OUTPUT_VARIABLE MACHINES_BIT)