diff options
Diffstat (limited to 'libavdevice/libndi_newtek_common.h')
-rw-r--r-- | libavdevice/libndi_newtek_common.h | 30 |
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 |