Skip to content

Commit

Permalink
chore!: removes OMX related funcs
Browse files Browse the repository at this point in the history
BREAKING CHANGE: Removes OMX related funcs, OMX is support is obsolete.

Signed-off-by: Stephan Wendel <[email protected]>
  • Loading branch information
KwadFan committed Feb 5, 2023
1 parent a69d126 commit 6152fb2
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 21 deletions.
12 changes: 0 additions & 12 deletions libs/core.sh
Original file line number Diff line number Diff line change
Expand Up @@ -90,18 +90,6 @@ function check_apps {
done
}

# checks availability of OpenMax IL feature on host and in apps.
# 0 = false / 1 = true
function check_omx {
if [ -d "/opt/vc/include" ] &&
[ ! "$(ffmpeg -hide_banner -buildconf | grep -c 'omx')" = "0" ] &&
[ "$("${BASE_CN_PATH}"/bin/ustreamer/ustreamer --features | grep -c '\+ WITH_OMX')" = "1" ]; then
echo "1"
else
echo "0"
fi
}

# Check all needed Dependencies
# If pass print your set configfile to log.
# print_cfg, see libs/logging.sh L#75
Expand Down
9 changes: 0 additions & 9 deletions libs/messages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,15 +48,6 @@ function unknown_mode_msg {
log_msg "WARN: Using 'mode: mjpg' as fallback!"
}

function provides_omx_msg {
if [ "$(check_omx)" -eq 1 ]; then
log_msg "INFO: System provides OpenMAX IL features."
else
log_msg "WARN: System does not provide OpenMAX IL features."
fi
}


## v4l2_control lib
function detected_broken_dev_msg {
log_msg "WARN: Detected 'brokenfocus' device."
Expand Down

0 comments on commit 6152fb2

Please sign in to comment.