Skip to content

Commit

Permalink
Merge pull request #307 from amiaopensource/decklink-warning
Browse files Browse the repository at this point in the history
rely more on ffmpeg's decklink device warnings
  • Loading branch information
aeschweik authored Apr 23, 2018
2 parents 4adfffd + e46d1cb commit 0806235
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions vrecord
Original file line number Diff line number Diff line change
Expand Up @@ -139,11 +139,7 @@ _get_decklink_inputs(){
_report -w "No decklink inputs were found. Running \`${FFMPEG_DECKLINK} -hide_banner -f decklink -list_devices 1 -i dummy\` results in:"
DECKLINK_RESULT=$("${FFMPEG_DECKLINK[@]}" -hide_banner -f decklink -list_devices 1 -i dummy)
echo "${DECKLINK_RESULT}"
if [[ "$(echo "${DECKLINK_RESULT}" | grep -c "Could not create DeckLink iterator")" ]] ; then
_report -w "You may need a newer version of Blackmagic Desktop Video, see https://www.blackmagicdesign.com/support/."
else
_report -w "Please check connections and try again."
fi
_report -w "Please check connections and drivers and try again."
exit 1
else
FIRST_DECKLINK_INPUT="$(echo "${DECKLINK_INPUTS}" | head -n 1 )"
Expand Down

0 comments on commit 0806235

Please sign in to comment.