drothlis/stb-tester — pull request #148 by drothlis (2014-04-24 05:39:48+00:00)
Title: stbt batch run: Classify blackmagic failure correctly

The classification for errors due to the Blackmagic Intensity Pro
video-capture card hasn't worked correctly since we ported stbt to
GStreamer 1.0 in commit a83333a2.

Also the "blackmagic card in use by another process" detection logic
hasn't worked since the blackmagic device moved from /dev/blackmagic0 to
/dev/blackmagic/dv0 -- presumably this changed with the recently
released blackmagic 10.0 driver. We look at both locations, thus
providing an upgrade path to users (upgrade stb-tester first, then
upgrade the blackmagic driver -- if you care enough about getting this
error classification right).

Thanks to Lewis Haley for the bug report and for the detailed solution.
Fixes #144.