petersimonsson / libqatemcontrol

libqatemcontrol implements the protocol used to connect to BlackMagic ATEM switches.
GNU Lesser General Public License v2.1
79 stars 28 forks source link

set**streamKeyMask(quint8 keyer, float top, float bottom, float left, float right) doesn't take negative values #5

Closed czechtech closed 10 years ago

czechtech commented 10 years ago

setDownstreamKeyMask(quint8 keyer, float top, float bottom, float left, float right) and setUpstreamKeyMask(quint8 keyer, float top, float bottom, float left, float right) can't handle negative values for the float parameters. I try to set it to -9, and it gets set to 0.

petersimonsson commented 10 years ago

I'm unable to reproduce this one. I can set all params to -9 here. Have you enabled the mask before you are trying to change it? I'm not sure what the ATEM will do if it's not enabled as I've never tested that... Oh and which firmware version are you running? I'm running v2.12 which is shipped with the 4.2 release of the ATEM software.