summaryrefslogtreecommitdiff
path: root/libavdevice/decklink_common_c.h
diff options
context:
space:
mode:
authorMarton Balint <cus@passwd.hu>2016-06-19 00:35:44 +0200
committerMarton Balint <cus@passwd.hu>2016-06-26 19:18:06 +0200
commitcf0a05668b9999178deebad8221d1bfb32d81c2a (patch)
treeb12a44fcd288fc97d5a528c3956bf5359f71a1b9 /libavdevice/decklink_common_c.h
parentda89c6e37cf2fb3645611e8196cc28b6acfb9bd6 (diff)
downloadffmpeg-cf0a05668b9999178deebad8221d1bfb32d81c2a.tar.gz
avdevice/decklink: add support for setting input packet timestamp source
Reviewed-by: Deti Fliegl <deti@fliegl.de> Signed-off-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'libavdevice/decklink_common_c.h')
-rw-r--r--libavdevice/decklink_common_c.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/libavdevice/decklink_common_c.h b/libavdevice/decklink_common_c.h
index 8de853d12c..3c5f218713 100644
--- a/libavdevice/decklink_common_c.h
+++ b/libavdevice/decklink_common_c.h
@@ -22,6 +22,13 @@
#ifndef AVDEVICE_DECKLINK_COMMON_C_H
#define AVDEVICE_DECKLINK_COMMON_C_H
+typedef enum DecklinkPtsSource {
+ PTS_SRC_AUDIO = 1,
+ PTS_SRC_VIDEO = 2,
+ PTS_SRC_REFERENCE = 3,
+ PTS_SRC_WALLCLOCK = 4,
+} DecklinkPtsSource;
+
struct decklink_cctx {
const AVClass *cclass;
@@ -35,6 +42,8 @@ struct decklink_cctx {
int v210;
int audio_channels;
int duplex_mode;
+ DecklinkPtsSource audio_pts_source;
+ DecklinkPtsSource video_pts_source;
int audio_input;
int video_input;
};