summaryrefslogtreecommitdiff
path: root/libavdevice/decklink_common_c.h
diff options
context:
space:
mode:
authorDeti Fliegl <deti@fliegl.de>2014-09-22 01:39:50 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-09-22 01:39:50 +0200
commita5e040ee3c757f4673e3c7202e823490593f21d7 (patch)
tree2f50e968b94ee3af5ae8ecbfb7249d8d582ae186 /libavdevice/decklink_common_c.h
parent56b8d106769c5c5f9174dcc426f1ee2f991428b1 (diff)
avdevice/decklink: move general code of decklink encoder to common file
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavdevice/decklink_common_c.h')
-rw-r--r--libavdevice/decklink_common_c.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/libavdevice/decklink_common_c.h b/libavdevice/decklink_common_c.h
new file mode 100644
index 0000000000..861a51aa12
--- /dev/null
+++ b/libavdevice/decklink_common_c.h
@@ -0,0 +1,32 @@
+/*
+ * Blackmagic DeckLink common code
+ * Copyright (c) 2013-2014 Ramiro Polla
+ *
+ * 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
+ */
+
+struct decklink_cctx {
+ const AVClass *cclass;
+
+ void *ctx;
+
+ /* Options */
+ int list_devices;
+ int list_formats;
+ double preroll;
+};
+