avdevice/decklink_dec: use std::atomic for decklink_input_callback refcounting
Also remove the callback from the context, and add proper error handling. Signed-off-by: Marton Balint <cus@passwd.hu>
This commit is contained in:
@@ -56,7 +56,6 @@ struct decklink_ctx {
|
||||
IDeckLinkConfiguration *cfg;
|
||||
IDeckLinkAttributes *attr;
|
||||
decklink_output_callback *output_callback;
|
||||
decklink_input_callback *input_callback;
|
||||
|
||||
/* DeckLink mode information */
|
||||
BMDTimeValue bmd_tb_den;
|
||||
|
||||
Reference in New Issue
Block a user