• Aaron Levinson's avatar
    avdevice/decklink: fix MSVC build issues · 7f7ee86d
    Aaron Levinson authored
    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: 's avatarAaron Levinson <alevinsn@aracnet.com>
    Signed-off-by: 's avatarMarton Balint <cus@passwd.hu>
    7f7ee86d
Name
Last commit
Last update
..
tests Loading commit data...
Makefile Loading commit data...
alldevices.c Loading commit data...
alsa.c Loading commit data...
alsa.h Loading commit data...
alsa_dec.c Loading commit data...
alsa_enc.c Loading commit data...
avdevice.c Loading commit data...
avdevice.h Loading commit data...
avdeviceres.rc Loading commit data...
avfoundation.m Loading commit data...
bktr.c Loading commit data...
caca.c Loading commit data...
decklink_common.cpp Loading commit data...
decklink_common.h Loading commit data...
decklink_common_c.h Loading commit data...
decklink_dec.cpp Loading commit data...
decklink_dec.h Loading commit data...
decklink_dec_c.c Loading commit data...
decklink_enc.cpp Loading commit data...
decklink_enc.h Loading commit data...
decklink_enc_c.c Loading commit data...
dshow.c Loading commit data...
dshow_capture.h Loading commit data...
dshow_common.c Loading commit data...
dshow_crossbar.c Loading commit data...
dshow_enummediatypes.c Loading commit data...
dshow_enumpins.c Loading commit data...
dshow_filter.c Loading commit data...
dshow_pin.c Loading commit data...
dv1394.c Loading commit data...
dv1394.h Loading commit data...
fbdev_common.c Loading commit data...
fbdev_common.h Loading commit data...
fbdev_dec.c Loading commit data...
fbdev_enc.c Loading commit data...
file_open.c Loading commit data...
gdigrab.c Loading commit data...
iec61883.c Loading commit data...
internal.h Loading commit data...
jack.c Loading commit data...
lavfi.c Loading commit data...
libavdevice.v Loading commit data...
libcdio.c Loading commit data...
libdc1394.c Loading commit data...
openal-dec.c Loading commit data...
opengl_enc.c Loading commit data...
opengl_enc_shaders.h Loading commit data...
oss.c Loading commit data...
oss.h Loading commit data...
oss_dec.c Loading commit data...
oss_enc.c Loading commit data...
pulse_audio_common.c Loading commit data...
pulse_audio_common.h Loading commit data...
pulse_audio_dec.c Loading commit data...
pulse_audio_enc.c Loading commit data...
qtkit.m Loading commit data...
sdl2.c Loading commit data...
sndio.c Loading commit data...
sndio.h Loading commit data...
sndio_dec.c Loading commit data...
sndio_enc.c Loading commit data...
timefilter.c Loading commit data...
timefilter.h Loading commit data...
utils.c Loading commit data...
v4l.c Loading commit data...
v4l2-common.c Loading commit data...
v4l2-common.h Loading commit data...
v4l2.c Loading commit data...
v4l2enc.c Loading commit data...
version.h Loading commit data...
vfwcap.c Loading commit data...
xcbgrab.c Loading commit data...
xv.c Loading commit data...