// For LIVE_INPUT* only. We can't just always populate signal_to_connect,
// since when we set this, CEF and video signals may not have numbers yet.
// FIXME: Perhaps it would be simpler if they just did?
- enum { CONNECT_NONE, CONNECT_CARD, CONNECT_CEF, CONNECT_VIDEO } signal_type_to_connect = CONNECT_NONE;
- int card_to_connect = 0; // For CONNECT_CARD.
+ enum { CONNECT_NONE, CONNECT_SIGNAL, CONNECT_CEF, CONNECT_VIDEO } signal_type_to_connect = CONNECT_NONE;
+ int signal_to_connect = 0; // For CONNECT_SIGNAL.
#ifdef HAVE_CEF
CEFCapture *cef_to_connect = nullptr; // For CONNECT_CEF.
#endif
static int add_input(lua_State *L);
static int add_effect(lua_State *L);
static int add_optional_effect(lua_State *L);
- static int add_auto_white_balance(lua_State *L);
+ static int add_white_balance(lua_State *L);
static int finalize(lua_State *L);
};