Remove spurious output from effects to commandline. - annna - Annna the nice friendly bot.
 (HTM) git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/annna/
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) Tags
 (DIR) README
       ---
 (DIR) commit 84de31a6b3819c0bc01f27da9144b2912ff70200
 (DIR) parent 6ece34d5cccaaec6b636c095d3f0d221efc80a1d
 (HTM) Author: Annna Robert-Houdin <annna@bitreich.org>
       Date:   Sat, 15 Jan 2022 21:14:22 +0100
       
       Remove spurious output from effects to commandline.
       
       Diffstat:
         M annna-message-common                |       4 ++--
         M ffmpeg-effect                       |       1 +
       
       2 files changed, 3 insertions(+), 2 deletions(-)
       ---
 (DIR) diff --git a/annna-message-common b/annna-message-common
       @@ -849,10 +849,10 @@ case "${text}" in
                                antidepressant)
                                        outfile="${outfile%.*}.jpg"
                                        outpath="${outpath%.*}.jpg"
       -                                antidepressant "${inpath}" "${outpath}"
       +                                antidepressant "${inpath}" "${outpath}" 2>&1 >/dev/null
                                        ;;
                                *)
       -                                ffmpeg-effect "${filter}" "${inpath}" "${outpath}"
       +                                ffmpeg-effect "${filter}" "${inpath}" "${outpath}" 2>&1 >/dev/null
                                        ;;
                        esac
        
 (DIR) diff --git a/ffmpeg-effect b/ffmpeg-effect
       @@ -167,3 +167,4 @@ if process_filter "$1" "$2" "$3"; then
        else
                exit $?
        fi
       +