summaryrefslogtreecommitdiff
path: root/src/qcam/assets/feathericons/cloud-snow.svg
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2021-06-26 03:22:04 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2021-06-29 00:43:46 +0300
commit12809ff171aee57b306a9b29d6593793ea984ae6 (patch)
tree8b9620ac651c058dec3499b3a8aace4b230c35fd /src/qcam/assets/feathericons/cloud-snow.svg
parent535820fe51ac9881ae3562ffd4a69ef3359f85f6 (diff)
libcamera: pipeline: simple: converter: Improve error message
When the configuration of the converter fails due to format mismatch, the error messages only indicates that a failure occurred. Improve it to ease debugging by printing the requested and obtained formats. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Umang Jain <umang.jain@ideasonboard.com> Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
Diffstat (limited to 'src/qcam/assets/feathericons/cloud-snow.svg')
0 files changed, 0 insertions, 0 deletions
hl str"><chromium dir>" exit 1 fi ipc_dir="$(dirname "$(realpath "$0")")/ipc" chromium_dir="$1" if [ ! -d "${chromium_dir}/mojo" ] ; then echo "Directory ${chromium_dir} doesn't contain mojo" exit 1 fi if [ ! -d "${chromium_dir}/.git" ] ; then echo "Directory ${chromium_dir} doesn't contain a git tree" exit 1 fi # Get the chromium commit id version=$(git -C "${chromium_dir}" rev-parse --short HEAD) # Reject dirty trees if [ -n "$(git -C "${chromium_dir}" status --porcelain)" ] ; then echo "Chromium tree in ${chromium_dir} is dirty" exit 1 fi # Copy the diagnosis file cp "${chromium_dir}/tools/diagnosis/crbug_1001171.py" "${ipc_dir}/tools/diagnosis" # Copy the rest of mojo cp "${chromium_dir}/mojo/public/LICENSE" "${ipc_dir}/mojo/public" rm -rf "${ipc_dir}/mojo/public/tools/*" ( cd "${chromium_dir}" || exit find ./mojo/public/tools -type f \ -not -path "*/generators/*" \ -not -path "*/fuzzers/*" \ -exec cp --parents "{}" "${ipc_dir}" ";" ) # Update the README files readme=$(cat <<EOF # SPDX-License-Identifier: CC0-1.0 Files in this directory are imported from ${version} of Chromium. Do not modify them manually. EOF ) echo "$readme" > "${ipc_dir}/mojo/README" echo "$readme" > "${ipc_dir}/tools/README" cat <<EOF ------------------------------------------------------------ mojo updated. Please review and up-port local changes before committing. ------------------------------------------------------------ EOF