summaryrefslogtreecommitdiff
path: root/sys/decklink/gstdecklink.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sys/decklink/gstdecklink.cpp')
-rw-r--r--sys/decklink/gstdecklink.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/decklink/gstdecklink.cpp b/sys/decklink/gstdecklink.cpp
index 67ec9f6e2..3f3bb08f1 100644
--- a/sys/decklink/gstdecklink.cpp
+++ b/sys/decklink/gstdecklink.cpp
@@ -405,7 +405,8 @@ private:
gint m_refcount;
public:
GStreamerDecklinkInputCallback (GstDecklinkInput * input)
- : IDeckLinkInputCallback ()
+ : IDeckLinkInputCallback (),
+ m_refcount (1)
{
m_input = input;
g_mutex_init (&m_mutex);