summaryrefslogtreecommitdiff
path: root/libavdevice/decklink_common.h
diff options
context:
space:
mode:
authorKarthick J <kjeyapal@akamai.com>2017-10-27 12:00:23 +0530
committerMarton Balint <cus@passwd.hu>2017-11-22 00:08:35 +0100
commite8e9306b4f0017c3d2ae2a9f02136279c1a105e9 (patch)
tree87f0e9e5a2980a74b91031452bda64ae4451b710 /libavdevice/decklink_common.h
parentaa7b0329ff282ea8afb3c26dcbbc64209a280219 (diff)
downloadffmpeg-e8e9306b4f0017c3d2ae2a9f02136279c1a105e9.tar.gz
avdevice/decklink_dec: autodetect the video input format
When -format_code is not specified autodetection will happen. Signed-off-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'libavdevice/decklink_common.h')
-rw-r--r--libavdevice/decklink_common.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/libavdevice/decklink_common.h b/libavdevice/decklink_common.h
index 4345156d8e..57ee7d1d68 100644
--- a/libavdevice/decklink_common.h
+++ b/libavdevice/decklink_common.h
@@ -28,6 +28,12 @@
#include "libavutil/thread.h"
#include "decklink_common_c.h"
+#ifdef _WIN32
+#define DECKLINK_BOOL BOOL
+#else
+#define DECKLINK_BOOL bool
+#endif
+
class decklink_output_callback;
class decklink_input_callback;
@@ -95,6 +101,7 @@ struct decklink_ctx {
pthread_mutex_t mutex;
pthread_cond_t cond;
int frames_buffer_available_spots;
+ int autodetect;
int channels;
int audio_depth;