ffmpeg/libavdevice
Aaron Levinson 7f7ee86d5a avdevice/decklink: fix MSVC build issues
Purpose: Made minor changes to get the decklink avdevice code to build
using Visual C++.

Notes: Made changes to configure per Hendrik Leppkes's review of first
and second versions of patch.  Also made slight alterations per Marton
Balint's reviews.

Comments:

-- configure: Added if enabled decklink section and setting
   decklink_indev_extralibs and decklink_outdev_extralibs here for
   both mingw and Windows.  Also eliminated the setting of these
   variables in the mingw section earlier in the file.

-- libavdevice/decklink_common.cpp: Switched the order of the include
   of libavformat/internal.h to workaround build issues with Visual
   C++.  See comment in file for more details.

-- libavdevice/decklink_dec.cpp:
a) Rearranged the include of libavformat/internal.h (for reasons as
   described above).
b) Made slight alteration to an argument for call to av_rescale_q() to
   workaround a compiler error with Visual C++.  This appears to only
   be an issue when building C++ files with Visual C++.  See comment
   in code for more details.

-- libavdevice/decklink_enc.cpp: Rearranged the include of
   libavformat/internal.h (for reasons as described above).

Signed-off-by: Aaron Levinson <alevinsn@aracnet.com>
Signed-off-by: Marton Balint <cus@passwd.hu>
2017-05-08 22:43:35 +02:00
..
tests Merge commit '93fed46a92bab8be176d3e67be4354189a8dbe7f' 2017-03-19 16:08:27 +01:00
Makefile Merge commit '92db5083077a8b0f8e1050507671b456fd155125' 2017-05-04 19:59:30 -03:00
alldevices.c Merge commit '5ed4644d6de7f6112431dc2d9a5cfe9a0a75a688' 2017-03-15 22:19:56 +01:00
alsa.c avdevice/alsa: wait until playback buffers are drained before closing 2017-05-06 23:54:26 +02:00
alsa.h
alsa_dec.c
alsa_enc.c avdevice: do not use AVFrame accessor 2017-04-23 14:35:08 +07:00
avdevice.c
avdevice.h Merge commit '5ed4644d6de7f6112431dc2d9a5cfe9a0a75a688' 2017-03-15 22:19:56 +01:00
avdeviceres.rc
avfoundation.m
bktr.c Merge commit '2f806622e1270d3ed1d41a53049a19673dafbe70' 2017-03-24 12:41:31 +01:00
caca.c
decklink_common.cpp avdevice/decklink: fix MSVC build issues 2017-05-08 22:43:35 +02:00
decklink_common.h avdevice/decklink: remove pthread dependency 2017-04-15 12:26:21 +02:00
decklink_common_c.h avdevice/decklink: new option 'format_code' to set video format by fourCC 2017-03-22 02:07:50 +01:00
decklink_dec.cpp avdevice/decklink: fix MSVC build issues 2017-05-08 22:43:35 +02:00
decklink_dec.h
decklink_dec_c.c avdevice/decklink: new option 'format_code' to set video format by fourCC 2017-03-22 02:07:50 +01:00
decklink_enc.cpp avdevice/decklink: fix MSVC build issues 2017-05-08 22:43:35 +02:00
decklink_enc.h
decklink_enc_c.c avdevice/decklink_enc: convert AVFMT_RAWPICTURE to AV_CODEC_ID_WRAPPED_AVFRAME 2017-02-26 22:47:33 +01:00
dshow.c
dshow_capture.h
dshow_common.c
dshow_crossbar.c
dshow_enummediatypes.c
dshow_enumpins.c
dshow_filter.c
dshow_pin.c
dv1394.c
dv1394.h
fbdev_common.c
fbdev_common.h
fbdev_dec.c
fbdev_enc.c
file_open.c
gdigrab.c
iec61883.c avdevice/iec61883: free packet on buffer allocation error 2017-02-19 16:41:43 +01:00
internal.h
jack.c
lavfi.c avdevice: do not use AVFrame accessor 2017-04-23 14:35:08 +07:00
libavdevice.v
libcdio.c
libdc1394.c Merge commit '4a1ef543983b7480e2822f6ac281ba361d1f893d' 2017-04-09 14:22:43 +02:00
openal-dec.c
opengl_enc.c lavd/opengl_enc: Fix a typo. 2017-02-23 00:11:43 +01:00
opengl_enc_shaders.h
oss.c
oss.h
oss_dec.c
oss_enc.c
pulse_audio_common.c
pulse_audio_common.h
pulse_audio_dec.c
pulse_audio_enc.c avdevice: do not use AVFrame accessor 2017-04-23 14:35:08 +07:00
qtkit.m
sdl2.c
sndio.c
sndio.h
sndio_dec.c
sndio_enc.c
timefilter.c
timefilter.h
utils.c
v4l.c
v4l2-common.c
v4l2-common.h Merge commit '3a165c187da7d74f46f6c1778294e8c5a3a7151f' 2017-03-22 17:55:18 +01:00
v4l2.c Merge commit '0fea8555ae25124c21f4c4f55a5fa76e9169aa03' 2017-04-26 17:17:50 +02:00
v4l2enc.c
version.h Bump versions for master after 3.3 2017-04-02 19:54:12 +02:00
vfwcap.c Merge commit '67deba8a416d818f3d95aef0aa916589090396e2' 2017-03-31 10:40:34 +02:00
xcbgrab.c Merge commit '67deba8a416d818f3d95aef0aa916589090396e2' 2017-03-31 10:40:34 +02:00
xv.c