avdevice/decklink_dec: use std::atomic for decklink_input_callback refcounting
authorMarton Balint <cus@passwd.hu>
Mon, 4 Jun 2018 08:27:42 +0000 (10:27 +0200)
committerMarton Balint <cus@passwd.hu>
Tue, 12 Jun 2018 22:09:48 +0000 (00:09 +0200)
commitba8a1d161820f9e5f1485118a0f508e312f69a8b
tree4af682bb1ca45f0ba174beeac4db8e1fb2288726
parent643123b29d4072f27be9b348d03069b648dbddf9
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>
libavdevice/decklink_common.h
libavdevice/decklink_dec.cpp