Skip to content

Commit

Permalink
SHipping
Browse files Browse the repository at this point in the history
  • Loading branch information
Lorsoen committed Nov 5, 2024
1 parent 2e8d520 commit 9b97157
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions bin/revideo-kdialog
Original file line number Diff line number Diff line change
Expand Up @@ -276,8 +276,8 @@ run_interpolate () {
if [ "${overwrite}" = true ]; then
vfps=$(ffmpeg -i "${dir}/${base}.${ext}" 2>&1 | sed -n 's/.*, \(.*\) fp.*/\1/p')
vfps_multiplied=$((${vfps} * ${multiplicator}))
detect_vcodec=$(ffprobe -i "${dir}/${base}.${ext}" 2>&1 | grep -i Stream )
detect_acodec=$(ffprobe -i "${dir}/${base}.${ext}" 2>&1 | grep -i Stream )
detect_vcodec=$(ffprobe -i "${dir}/${base}.${ext}" 2>&1 | grep -i Video: )
detect_acodec=$(ffprobe -i "${dir}/${base}.${ext}" 2>&1 | grep -i Audio: )

if [[ ${detect_acodec} = *"Audio:"* ]]; then detect_audio_codec; fi
if [[ ${detect_vcodec} = *"Video:"* ]]; then detect_video_codec; fi
Expand Down
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ for var in "${required_vars[@]}"; do
fi
done

if [[ ${EUID} -eq 0 ]]; then
if [[ ${EUID} -ne 0 ]]; then
echo "Installing kde-service-menu-revideo (${install_mode}) ..."

printf "revideo comes with extra AI tools that requires extra installation. \n\n"
Expand Down

0 comments on commit 9b97157

Please sign in to comment.