Nicola Murino [Fri, 14 Dec 2018 14:48:09 +0000 (15:48 +0100)]
removesilence: improve documentation
Nicola Murino [Mon, 26 Nov 2018 15:40:01 +0000 (16:40 +0100)]
removesilence: add threshold property
silence thresold was hardcoded to -60 dB, now it is configurable
using this new property
Closes #63
Nicola Murino [Mon, 26 Nov 2018 15:39:16 +0000 (16:39 +0100)]
removesilence: add properties to detect silence only after minimum silence time/buffers
Closes #63
Nicola Murino [Mon, 26 Nov 2018 15:38:37 +0000 (16:38 +0100)]
removesilence: add silent property to control bus message notifications
Closes #63
Nicola Murino [Mon, 26 Nov 2018 15:37:40 +0000 (16:37 +0100)]
removesilence: post bus messages when silence is detected/finished
Closes #63
Nicola Murino [Mon, 26 Nov 2018 15:36:18 +0000 (16:36 +0100)]
removesilence: add squash property
allows to output buffers without timestamp gap when silence is removed
Closes #63
Justin Kim [Fri, 14 Dec 2018 03:22:51 +0000 (12:22 +0900)]
sys: applemedia: meson: Add dependencies by using appleframeworks
gst-build#13
Wonchul Lee [Mon, 3 Dec 2018 07:18:32 +0000 (16:18 +0900)]
waylandsink: Avoid race condition on multi-threaded client
When waylandsink is used on some other thread than the main wayland
client thread, the waylandsink implementation is vulnerable to a
condition related to registry and surface events which handled in
seperated event queue.
The race that may happen is that after a proxy is created, but
before the queue is set, events meant to be emitted via the yet to
set queue may already have been queued on the wrong queue.
Wayland 1.11 introduced new API that allows creating a proxy
wrappper which can help to avoid this race condition.
Wonchul Lee [Mon, 3 Dec 2018 02:59:46 +0000 (11:59 +0900)]
examples/wayland: Add wayland multi-thread client example
This is for testing race condition with multi-thread wayland client
environment. The race condition will be resolved with wayland proxy
wrapper API when handling event queue.
Seungha Yang [Sat, 1 Dec 2018 13:42:53 +0000 (22:42 +0900)]
h26{4,5}parse: Don't confuse nal of codec_data with frame
vps/sps/pps in codec_data shouldn't be considered as inband data.
Otherwise, h26{4,5}parse never insert them to nal when transform
(packetized to byte-stream) use case
Matthew Waters [Tue, 20 Nov 2018 10:09:52 +0000 (04:09 -0600)]
nvdec: Rely on upstream's value for interlace-mode with hevc
The nvdec API doesn't seem to produce interlacing information with hevc
streams so rely on upstreams value for interlace-mode
Haihao Xiang [Wed, 12 Dec 2018 07:24:18 +0000 (15:24 +0800)]
msdk: change the wait time for encoder and vpp
In MSDK samples, the wait time for encoder, decoder and vpp is
300000. Let's set the wait time to the same value in msdk plugin
Haihao Xiang [Wed, 12 Dec 2018 05:45:34 +0000 (13:45 +0800)]
msdk: correct the error message
It is VPP session instead of Encoder session
Haihao Xiang [Wed, 12 Dec 2018 04:52:46 +0000 (12:52 +0800)]
msdk: check the created context against NULL pointer
gst_msdk_context_new_with_parent() may return NULL
Haihao Xiang [Tue, 11 Dec 2018 07:54:51 +0000 (15:54 +0800)]
msdk: decrease the reference count of object
Otherwise there are reference leaks if failed to clone or join a
mfx session
Haihao Xiang [Tue, 11 Dec 2018 07:04:12 +0000 (15:04 +0800)]
msdk: assign the returned value to status variable
Othervise the subsequent check will use the stale value of status
variable
Xiang, Haihao [Tue, 27 Nov 2018 07:56:03 +0000 (15:56 +0800)]
msdkh265enc: output main-10 bitstream if the input is P010_10LE
Tested on KBL using the following command:
gst-launch-1.0 videotestsrc num_buffers=100 ! video/x-raw,format=P010_10LE ! \
msdkh265enc ! filesink location=a.hevc
This fixes https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/829
Xiang, Haihao [Tue, 27 Nov 2018 11:22:16 +0000 (19:22 +0800)]
msdkh265enc: add P010_10LE to the sink pad template
Xiang, Haihao [Tue, 27 Nov 2018 07:55:51 +0000 (15:55 +0800)]
msdkh265enc: re-add the sink pad template
We will add more profiles in the sink caps of msdkh265enc, so let
msdkh265enc re-add the sink pad template. Note this change doesn't
impact any capability
Xiang, Haihao [Tue, 27 Nov 2018 08:08:42 +0000 (16:08 +0800)]
msdkenc: handle P010_10LE input format
Note it is up to each codec to support P010_10LE format
Xiang, Haihao [Tue, 27 Nov 2018 07:52:56 +0000 (15:52 +0800)]
msdkenc: use macro GST_VIDEO_INFO_FORMAT if possible
Matthew Waters [Wed, 28 Nov 2018 04:28:15 +0000 (22:28 -0600)]
decklink: calculate the decklink output time from the internal clock
Fixes the time calculations when dealing with a slaved clock (as
will occur with more than one decklink video sink), when performing
flushing seeks causing stalls in the output timeline, pausing.
Tighten up the calculations by relying solely on the internal time
(from the internal clock) for determining when to schedule display
frames instead attempting to track pause lengths from the external
clock and converting to internal time. This results in a much easier
offset calculation for choosing the output time and ensures that the
clock is always advancing when we need it to.
This is fixup to the 'monotonically increasing output timestamps' goal
in:
bf849e9a69442f7a6f9d4f0a1ef30d5a8009f689
Tim-Philipp Müller [Thu, 29 Nov 2018 19:22:51 +0000 (19:22 +0000)]
tests: mpegvideoparse: add unit test for CEA-708 closed captions extraction
Tim-Philipp Müller [Wed, 28 Nov 2018 17:05:33 +0000 (17:05 +0000)]
mpegvideoparse: extract CEA-708 closed captions
Sebastian Dröge [Mon, 10 Dec 2018 14:14:07 +0000 (16:14 +0200)]
mpegtsmux: Change unit test to not generate zero-sized buffers ever
Sebastian Dröge [Mon, 10 Dec 2018 14:13:37 +0000 (16:13 +0200)]
mpegtsmux: Handle zero-sized buffers correctly without going into an infinite loop
Fixes https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/844
Sebastian Dröge [Thu, 29 Nov 2018 11:49:04 +0000 (13:49 +0200)]
player: Don't crash if playbin is not available but kill the process cleanly
Matthew Waters [Fri, 7 Dec 2018 05:52:39 +0000 (16:52 +1100)]
androidmedia: also install java sources
As needed by our ndk-build integration
Sebastian Dröge [Wed, 5 Dec 2018 17:01:40 +0000 (19:01 +0200)]
ccextractor: Copy over timecode meta from the input buffers to the outgoing caption buffers
Formats like SCC and MCC work based on timecodes so ideally we pass
through the timecodes when writing them.
Sebastian Dröge [Wed, 5 Dec 2018 16:46:52 +0000 (18:46 +0200)]
ccextractor: Include framerate in the closedcaption caps
It depends on the framerate how many cc_data byte pairs are allowed per
frame, and the framerate is also needed for converting into the CDP or
MCC format as the framerate is part of the header metadata.
Patricia Muscalu [Wed, 5 Dec 2018 16:55:14 +0000 (17:55 +0100)]
curlbasesink: Rename curl transfer thread
Some systems restrict the length of thread names to 16 bytes.
https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/838
Philippe Normand [Wed, 5 Dec 2018 13:10:11 +0000 (13:10 +0000)]
wpe: Add a source element acting as a Web Browser based on WebKit WPE
The wpe element is used to produce a video texture representing a web page
rendered off-screen by WPE. This element can be used to overlay HTML on top of
another video stream for instance.
Jonathan Karlsson [Mon, 19 Nov 2018 10:39:50 +0000 (11:39 +0100)]
curlhttpsink: Enable content type changes
Makes it possible to change content type without having to
reinitialize the element, typically after reset.
https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/merge_requests/41
Jan Alexander Steffens (heftig) [Wed, 5 Dec 2018 09:10:39 +0000 (10:10 +0100)]
fdkaacdec: Use WAV channel mapping instead of interleave setting
The latter is going away in libfdk-aac 2.0.0. Instead, MPEG-style output
is always non-interleaved and WAV-style output is always interleaved.
Earlier libfdk-aac also defaults interleaving accordingly.
Since our reordering looks at the associated PCE indices instead of the
actual channel order, we're agnostic to the mapping.
For https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/825
Jan Alexander Steffens (heftig) [Tue, 4 Dec 2018 16:54:42 +0000 (17:54 +0100)]
fdkaacenc: Remove MODE_2_1
This is not a standard mode and no longer supported by fdk-aac 2.0.0.
For https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/825
Thibault Saunier [Wed, 5 Dec 2018 20:24:20 +0000 (17:24 -0300)]
Automatic update of common submodule
From cd1dee0 to 59cb678
Nirbheek Chauhan [Wed, 5 Dec 2018 14:28:44 +0000 (19:58 +0530)]
meson: Add missing gio dep to webrtcbin plugin
It's usually pulled in implicitly through gstsdp_dep, but it's
actually a private dependency there. Fixes a build failure on Windows
with newer Meson.
Naveen Cherukuri [Tue, 4 Dec 2018 10:45:22 +0000 (16:15 +0530)]
kmssink: Avoiding get_property to take ownership of object members
Double free will happen if application frees string retuned by _get_property
Xiang, Haihao [Wed, 28 Nov 2018 04:39:58 +0000 (12:39 +0800)]
msdk: add missing breaks
Xiang, Haihao [Wed, 28 Nov 2018 03:15:28 +0000 (11:15 +0800)]
msdk: fix the wrong operator
The condition is for video memory only, so the operator should be
& instead of |
Guillaume Desmottes [Thu, 27 Sep 2018 13:33:32 +0000 (15:33 +0200)]
h265parse: process SEI recovery point
Similar change as the on I did in h264parse. We want to process SEI
recovery point as keyframe so muxers will mark them as seek points and
decoders will be able to start decoding from them rather than waiting
for an IDR.
https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/790
Guillaume Desmottes [Thu, 27 Sep 2018 13:33:32 +0000 (15:33 +0200)]
h265parser: parse SEI recovery point
Copied the implementation from h264parser and adapted it to the HEVC
syntax.
https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/790
Guillaume Desmottes [Wed, 19 Sep 2018 07:07:10 +0000 (09:07 +0200)]
h265parse: parse SEI messages
Don't do anything with them yet. I just copied the parsing and
processing logic from h264parse.
https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/790
Guillaume Desmottes [Wed, 19 Sep 2018 08:06:15 +0000 (10:06 +0200)]
h264parse: mark SEI Recovery Point as keyframes
The spec states that "recovery point SEI message assists a decoder in
determining when the decoding process will produce acceptable
pictures for display after the decoder initiates random access or after the
encoder indicates a broken link in the coded video sequence."
Mark those as keyframes so muxers will mark them as seek points and
decoders will be able to start decoding from them rather than waiting
for an IDR.
https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/790
Seungha Yang [Fri, 23 Nov 2018 02:51:04 +0000 (11:51 +0900)]
h265parse: Don't duplicate VPS/SPS/PPS per config-interval if exists
Don't need to manually insert VPS/SPS/PPS since inband data could be useable.
Also fixes #824
Seungha Yang [Fri, 23 Nov 2018 02:28:44 +0000 (11:28 +0900)]
h264parse: Don't duplicate SPS/PPS per config-interval if exists
Don't need to manually insert SPS/PPS since inband data could be useable.
Fixes #824
Tim-Philipp Müller [Mon, 26 Nov 2018 00:58:16 +0000 (00:58 +0000)]
meson: build opencv and ipcpipeline examples
https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/576
Tim-Philipp Müller [Thu, 29 Nov 2018 11:24:39 +0000 (11:24 +0000)]
cc708overlay: fix deadlock
We would forget to unlock when a caption data buffer is deemed
out of segment, which makes everything lock up next time buffers
are received.
Jordan Petridis [Wed, 28 Nov 2018 11:35:35 +0000 (13:35 +0200)]
Run gst-indent through the files
This is required before we enabled an indent test in the CI.
https://gitlab.freedesktop.org/gstreamer/gstreamer-project/issues/33
Maciej Wolny [Tue, 20 Nov 2018 10:37:47 +0000 (10:37 +0000)]
webrtc: Remove duplicate declarations
This causes 'redefinition of typedef ...' errors on GCC 4.5.3
Seungha Yang [Tue, 27 Nov 2018 07:06:53 +0000 (16:06 +0900)]
hlssink2: Fix string leak
Need to free allocated string memory on _finalize()
Xiang, Haihao [Fri, 16 Nov 2018 05:58:22 +0000 (13:58 +0800)]
msdk: remove unnecessary assignment
CodecProfile will be set in MFXVideoDECODE_DecodeHeader() to match
the input stream. Setting the hard-coded profile here will mislead
user that msdkh265dec supports a special profile only.
Xiang, Haihao [Fri, 16 Nov 2018 00:56:34 +0000 (08:56 +0800)]
msdk: update the sink and src caps of msdkh265dec
Now hevc 10bit video can be decoded correctly, so update the sink
and src caps accordingly.
This fixes https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/720
Xiang, Haihao [Mon, 19 Nov 2018 14:24:33 +0000 (22:24 +0800)]
msdk: set right BitDepth and Shift for P010 mfx frame
BitDepth is 10 and Shitf must be set to 1 when creating P010 mfx
frame in MSDK
Xiang, Haihao [Mon, 19 Nov 2018 07:34:38 +0000 (15:34 +0800)]
msdk: don't use hard-coded video format
Some codecs may support varied formats, e.g. HEVC may support NV12
and P010_10LE etc
Xiang, Haihao [Fri, 16 Nov 2018 12:01:52 +0000 (20:01 +0800)]
msdk: adjust the RT format for P010 surface
According to VA API, VA_RT_FORMAT_YUV420_10 is expected for P010
surface
Xiang, Haihao [Fri, 16 Nov 2018 06:36:31 +0000 (14:36 +0800)]
msdk: create VA_FOURCC_P010 surface from dmabuf
Xiang, Haihao [Fri, 16 Nov 2018 06:32:29 +0000 (14:32 +0800)]
msdk: VA_FOURCC_P010 frame lock
P010 and NV12 have the same layout, so we may reuse the code in
gst_msdk_frame_lock()
Xiang, Haihao [Fri, 16 Nov 2018 08:42:43 +0000 (16:42 +0800)]
msdk: map MFX_FOURCC_P010 to VA_FOURCC_P010
Xiang, Haihao [Fri, 16 Nov 2018 06:18:36 +0000 (14:18 +0800)]
msdk: make sure the surface data is set for GST_VIDEO_FORMAT_P010_10LE
P010_10LE and NV12 have the same layout, so we may reuse the code.
Haihao Xiang [Fri, 19 Oct 2018 08:23:21 +0000 (16:23 +0800)]
msdk: map GST_VIDEO_FORMAT_P010_10LE to MFX_FOURCC_P010
Xiang, Haihao [Fri, 16 Nov 2018 06:00:02 +0000 (14:00 +0800)]
msdk: add an assert in gst_msdk_frame_lock() for unhandled formats
We will add support for more formats, e.g. P010, Adding an assert
here may catch the error early
Haihao Xiang [Fri, 19 Oct 2018 08:23:34 +0000 (16:23 +0800)]
msdk: use separate src caps for msdkh265dec
We will add more formats in the src caps of msdkh265dec, so let
msdkh265dec uses separate src caps. Note it doesn't change any
capability
Xiang, Haihao [Tue, 20 Nov 2018 07:17:44 +0000 (15:17 +0800)]
msdk: Make sure a variable is initialized when it is used
Previously alloc_info is initialized when both thiz->initialized
and thiz->allocation_caps are true, but only thiz->initialized is
checked when alloc_info is used.
Xiang, Haihao [Tue, 20 Nov 2018 06:21:54 +0000 (14:21 +0800)]
msdk: Close fd handle
Otherwise it will result in resource leak if mem == NULL
Nicola Murino [Sun, 25 Nov 2018 19:27:25 +0000 (20:27 +0100)]
opencv: define CASCADE_DO_CANNY_PRUNING for opencv < 4
Nicola Murino [Sun, 25 Nov 2018 15:13:28 +0000 (16:13 +0100)]
opencv: make compatible with opencv 4
Closed #826
Nicola Murino [Sun, 25 Nov 2018 15:12:40 +0000 (16:12 +0100)]
opencv: fix indentation
Wangfei [Tue, 27 Nov 2018 08:22:04 +0000 (16:22 +0800)]
configure.ac: add gst-allocator check in msdk.
With out check gst-allocator, there will be a gst-allocator api
symbol link error when call for libgstmsdk.so.
Matthew Waters [Wed, 21 Nov 2018 14:43:56 +0000 (08:43 -0600)]
decklink: fixup internal time tracking over buffering pauses
Instead of relying on buffers after a state change to PLAYING to always start
from 0, track the amount of time we have spent outside playing but not changed
state to PAUSED.
Matthew Waters [Mon, 26 Nov 2018 05:53:52 +0000 (16:53 +1100)]
tests/webrtc: fix tests for no libnice
webrtcbin will fail the state change to READY when libnice elements are
not available.
Matthew Waters [Mon, 26 Nov 2018 05:50:17 +0000 (16:50 +1100)]
tests/webrtc: use the existing functions in the plugin
Instead of redefining our own, use the function implementations in
webrtcsdp.c and utils.c
Matthew Waters [Mon, 26 Nov 2018 05:21:58 +0000 (16:21 +1100)]
webrtc: fix typo in RTCRemoteOutboundRTPStreamStats
Matthew Waters [Mon, 26 Nov 2018 05:21:19 +0000 (16:21 +1100)]
webrtc: add a few comments on bundle and src pad exposure
Matthew Waters [Mon, 26 Nov 2018 05:20:02 +0000 (16:20 +1100)]
webrtcbin: factor out dtls fingerprint setting
Matthew Waters [Mon, 26 Nov 2018 05:12:03 +0000 (16:12 +1100)]
webrtc: remove extra 'pad' from log line
Matthew Waters [Mon, 26 Nov 2018 05:07:57 +0000 (16:07 +1100)]
webrtc: move some functions to the appropriate files
Seungha Yang [Mon, 26 Nov 2018 02:26:52 +0000 (11:26 +0900)]
meson: Fix Windows CUDA dependency check
Python returns 'None' string for unknown environment
Seungha Yang [Thu, 22 Nov 2018 08:18:18 +0000 (17:18 +0900)]
nvh265enc: Fix email address typo
Seungha Yang [Thu, 22 Nov 2018 07:14:12 +0000 (16:14 +0900)]
nvenc: Fix undefined reference build error on MSVC and CUDA 9.1
Seungha Yang [Thu, 22 Nov 2018 05:01:28 +0000 (14:01 +0900)]
nvenc: Fix MSVC build error C2121
Seungha Yang [Thu, 22 Nov 2018 03:14:44 +0000 (12:14 +0900)]
nvenc: Add meson build with Windows support
Note that, since Nvidia does not provide nvEncodeAPI.lib file,
find_library() couldn't be used for build on Windows.
This patch changes to load nvEncodeAPI(64).dll or libnvidia-encode.so
in runtime
Seungha Yang [Mon, 19 Nov 2018 13:40:50 +0000 (22:40 +0900)]
nvdec: Add meson build with Windows support
Seungha Yang [Wed, 21 Nov 2018 15:22:25 +0000 (00:22 +0900)]
nvdec: Drop dynlink interface and use NVIDIA CODEC SDK instead
dynlink_* was introduced since CUDA Toolkit 9.x but it's deprecated from 10.0.
Instead of using #ifdef hack, shipping nvidia headers of NVIDA CODEC SDK
can make build/code simple
Seungha Yang [Thu, 22 Nov 2018 01:57:00 +0000 (10:57 +0900)]
nvdec/nvenc: Shipping NVIDA Codec SDK headers
Add cuvidec.h, nvcuvid.h and nvEncodeAPI.h of NVIDIA Codec SDK 8.2.16
Seungha Yang [Thu, 15 Nov 2018 12:52:27 +0000 (21:52 +0900)]
nvenc/nvdec: Add support CUDA Toolkit 10.0
Tim-Philipp Müller [Sun, 25 Nov 2018 17:33:04 +0000 (17:33 +0000)]
examples: codecparser: fix compiler warnings for unstable API use
Breaks build bots and build with --werror
Tim-Philipp Müller [Mon, 8 Oct 2018 22:47:51 +0000 (23:47 +0100)]
examples: force gtk to x11 backend
Until someone makes it work with the wayland backend.
The code currenty assumes and hard-codes X11.
https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/merge_requests/49
Tim-Philipp Müller [Mon, 8 Oct 2018 22:47:42 +0000 (23:47 +0100)]
meson: build more examples
See https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/576
Seungha Yang [Sat, 24 Nov 2018 10:26:30 +0000 (19:26 +0900)]
meson: Specify encoding to UTF-8 when building with MSVC
Use build arguments consistent with core and -base. This can also
remove noisy "C4819" warning of non-us locale MSVC.
Víctor Manuel Jáquez Leal [Fri, 23 Nov 2018 16:05:51 +0000 (17:05 +0100)]
msdk: don't declare headers in meson
This partially reverts commit
0bae64835302574953c3e5e89fa0822eb4f6ca4b.
The compiler tells ninja the header dependency, then there is
no need to add them explicity.
Víctor Manuel Jáquez Leal [Fri, 23 Nov 2018 12:41:57 +0000 (13:41 +0100)]
msdk: declare headers in meson
Wangfei [Tue, 20 Nov 2018 06:36:30 +0000 (14:36 +0800)]
msdkdec: move output-order out of decode bass class.
Since output-order is a deprecated attribute, move it out of decode
bass class and configure it in each sub decoder class who need it.
https://bugzilla.gnome.org/show_bug.cgi?id=796853
Víctor Manuel Jáquez Leal [Thu, 22 Nov 2018 16:02:09 +0000 (17:02 +0100)]
msdk: add support for open sourced MediaSDK
MediaSDK has been released as open source [1], but the directories
where it installs its files, are different from the binary only
distribution.
This patch adds to the libraries path the directory /lib. Also it
is defined in meson if the include directory has the mfx/ prefix,
something that is already handled in autotools.
1. https://github.com/Intel-Media-SDK/MediaSDK
Harshad Khedkar [Thu, 22 Nov 2018 13:17:13 +0000 (18:47 +0530)]
Webrtcbin : Need to use 'host' from gst_uri_get_host s libnice agent expects it
Currently master code of gst1-plugins-bad use plain-string host name while passing it to
libnice agent: nice_agent_set_relay_info() in gstwebrtcice.c while adding turn_server(_add_turn_server).
It is observered that if we don't convert the host parameter by using gst_uri_get_host, it fails in libnice agent(0.1.14-1).
Code does, actually, set the host correctly but while passing params to nice_agent_set_relay_info, it uses incorrect one.
https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/823
Lars Petter Endresen [Mon, 12 Nov 2018 11:03:53 +0000 (12:03 +0100)]
siren: Fix floating point invalid operation
Mix of single and double precision leads to zero-by-zero divide
for upper 64-bit of the xmm register, even though they are not
used.
Rosen Penev [Wed, 14 Nov 2018 22:55:37 +0000 (14:55 -0800)]
dtls: Fix compilation without deprecated APIs on OpenSSL 1.1.x
Justin Kim [Tue, 13 Nov 2018 09:20:15 +0000 (18:20 +0900)]
cameracalibrate: Fix build error on Mac OSX
It fails to build only on Mac OSX with the following error.
In file included from ../subprojects/gst-plugins-bad/ext/opencv/gstopencv.cpp:45:
../subprojects/gst-plugins-bad/ext/opencv/gstcameracalibrate.h:96:38: error: a space is required between consecutive right angle brackets (use '> >')
std::vector<std::vector<cv::Point2f>> imagePoints;
^~
> >
1 error generated.
Fix: #817
Seungha Yang [Tue, 13 Nov 2018 08:50:26 +0000 (17:50 +0900)]
meson: Fix invalid keyword warning
"required" keyword is not a valid argument for has_header()
WARNING: Passed invalid keyword argument "required".
WARNING: This will become a hard error in the future.
Sebastian Dröge [Tue, 13 Nov 2018 08:02:57 +0000 (10:02 +0200)]
decklinkvideosink: Cast result of bitwise-or of multiple enum values to the enum again
In C++ the bitwise-or results in an int, and ints are not implicitely
cast to enums.
See https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/merge_requests/25#note_78122