decklink: Fix crash when probing without driver
authorPhilippe Normand <philn@igalia.com>
Sun, 5 Jan 2020 16:20:18 +0000 (16:20 +0000)
committerPhilippe Normand <philn@igalia.com>
Sun, 5 Jan 2020 16:20:18 +0000 (16:20 +0000)
commit9f1fbd36495b7f90d15f7d2dc39fb6e435017573
tree38830f987116eb4ce5ee39e5594c4856052bb74a
parent982072ce1d43e2ac966c1b3a6ccc4a9f6f5ea8f9
decklink: Fix crash when probing without driver

If there is no decklink hardware/driver, the devices list is empty (NULL), so
this needs to be checked before iterating over the list.
sys/decklink/gstdecklink.cpp