. $GRIMOIRE/config_query_multi.function &&
default_configure &&

config_query_option FFMPEG_OPTS "Enable software scaler support?" y \
                                "--enable-swscale" \
                                "--disable-swscale" &&

config_query_option FFMPEG_OPTS "Enable debugging symbols?" y \
                                "--enable-debug" \
                                "--disable-debug" &&

config_query_option FFMPEG_OPTS "Enable support for Blackmagick Decklink output?" n \
                                  "--enable-decklink" \
                                  "--disable-decklink" &&

persistent_add FFMPEG_PROGRAM_LIST &&
local FFMPEG_PROGRAM_LIST="ffmpeg ffprobe" &&
config_query_multi FFMPEG_PROGRAMS "Which command line programs would you like to build?" \
                                   $FFMPEG_PROGRAM_LIST \
                                   all \
                                   none &&

config_query_list FFMPEG_HTTPS "how to support https"\
                gnutls SSL none
