summaryrefslogtreecommitdiff
path: root/libavdevice/libndi_newtek_common.h
diff options
context:
space:
mode:
authorMaksym Veremeyenko <verem@m1.tv>2017-08-18 09:34:06 -0400
committerMarton Balint <cus@passwd.hu>2017-08-27 18:07:50 +0200
commit2634927fe30ea4a821db515c6b7f77458f5c4bc5 (patch)
tree642d1fb24b41356a13f67e72246ec0046425262e /libavdevice/libndi_newtek_common.h
parent84ee6512ed70e4eeb37559e2ed1d830d198c8a15 (diff)
lavd: implement NewTek NDI input/output device support
Signed-off-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'libavdevice/libndi_newtek_common.h')
-rw-r--r--libavdevice/libndi_newtek_common.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/libavdevice/libndi_newtek_common.h b/libavdevice/libndi_newtek_common.h
new file mode 100644
index 0000000000..899031707d
--- /dev/null
+++ b/libavdevice/libndi_newtek_common.h
@@ -0,0 +1,30 @@
+/*
+ * NewTek NDI common code
+ * Copyright (c) 2017 Maksym Veremeyenko
+ *
+ * This file is part of FFmpeg.
+ *
+ * FFmpeg is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * FFmpeg is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with FFmpeg; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+#ifndef AVDEVICE_LIBNDI_NEWTEK_COMMON_H
+#define AVDEVICE_LIBNDI_NEWTEK_COMMON_H
+
+#include <Processing.NDI.Lib.h>
+
+#define NDI_TIME_BASE 10000000
+#define NDI_TIME_BASE_Q (AVRational){1, NDI_TIME_BASE}
+
+#endif