Skip to content

Commit

Permalink
Issue #53: using a lower frame rate with DeckLink 4K Extreme 12G
Browse files Browse the repository at this point in the history
  • Loading branch information
dzhoshkun committed Nov 13, 2018
1 parent b2b35f0 commit 5250cb2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/tests/blackmagic/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,11 @@ foreach(BLACKMAGIC_DEVICE ${BLACKMAGIC_DEVICES})

# Blackmagic device using the observer design pattern
SET(NAME_TEST Test_Blackmagic_${BLACKMAGIC_DEVICE}_ObserverPattern_${COLOUR_SPACE})
SET(FRAME_RATE 27)
if(BLACKMAGIC_DEVICE STREQUAL DeckLink4KExtreme12G)
SET(FRAME_RATE 24) # frame rate seems to be reduced, due to stereo?
else()
SET(FRAME_RATE 27)
endif()
ADD_TEST(NAME ${NAME_TEST}
COMMAND py.test --device=${BLACKMAGIC_DEVICE} --colour-space=${COLOUR_SPACE} --frame-rate=${FRAME_RATE} --observers=3 test_observer.py
)
Expand Down

0 comments on commit 5250cb2

Please sign in to comment.