From cf8cab850b5f3ca7d7f1e1bde3d75c923a99b807 Mon Sep 17 00:00:00 2001 From: Thad House Date: Thu, 19 Jan 2017 23:49:58 -0800 Subject: [PATCH] Fixes missing VideoProperty constructor. (#49) --- include/cscore_oo.inl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/cscore_oo.inl b/include/cscore_oo.inl index fc63c36149..f2fd374830 100644 --- a/include/cscore_oo.inl +++ b/include/cscore_oo.inl @@ -75,6 +75,9 @@ inline VideoProperty::VideoProperty(CS_Property handle) : m_handle(handle) { static_cast(static_cast(GetPropertyKind(handle, &m_status))); } +inline VideoProperty::VideoProperty(CS_Property handle, Kind kind) + : m_handle(handle), m_kind(kind) {} + inline VideoSource::VideoSource(const VideoSource& source) : m_handle(source.m_handle == 0 ? 0 : CopySource(source.m_handle, &m_status)) {}