Haihao Xiang
01051e7dfd
msdkdec: don't set unknown picture struct to progressive for vc1
...
MFXVideoDECODE_DecodeHeader only parses the sequence layer for VC1, so
the structure is unknown for a stream with interlace flag set in the
sequence layer. If forcing the struct to progressive in this plugin,
MediaSDK will fail to decode such streams.
2019-03-29 13:13:07 +08:00
Haihao Xiang
5b0247db33
msdkvc1dec: add the preinit_decoder function
2019-03-29 12:57:51 +08:00
Philippe Normand
0b641a4953
wpe: Bump required version to WPEWebKit 2.24
...
Fixes #929
2019-03-28 18:27:28 +00:00
Aaron Boxer
adfd8aa696
mpegvideoparse: add debug code for closed captions
...
This debug code will help determine why certain instances of closed
captions that are present in the Picture User Data are not actually
processed by the pipeline
2019-03-27 13:22:47 -04:00
Ulf Olsson
b2d0795185
srtp: Add support for GCM (RFC 7714)
...
The GCM support in libsrtp have been there for a while and
it can be useful for some applications.
Fixes https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/913
2019-03-27 10:55:27 +00:00
Seungha Yang
aaee282051
nvenc: Don't leak CUDA device memory
...
Allocated device memory should be freed with cuMemFree
2019-03-26 11:54:16 +00:00
Seungha Yang
d0f2f262aa
nvenc: Ensure unmap resources before finalizing them
...
Mapped resource via NvEncMapInputResource() will result to unregister fail.
It can happen when paused to ready state change without EOS event.
2019-03-26 11:54:16 +00:00
Haihua Hu
5498252750
h265parse: ignore VUI parse fail when parse SPS
...
VUI is an optional for SPS parse, some HEVC file has incorrect VUI
parameters but still can be decoded
2019-03-26 02:06:03 +00:00
Josep Torra
dbef8c43e8
closedcaption: fix build error in OSX
...
Fixes the following error.
gstccconverter.c:677:7: error: variable 'len' is used uninitialized whenever 'if' condition is false
[-Werror,-Wsometimes-uninitialized]
if (flags & 0x40) {
^~~~~~~~~~~~
gstccconverter.c:698:10: note: uninitialized use occurs here
return len;
^~~
gstccconverter.c:677:3: note: remove the 'if' if its condition is always true
if (flags & 0x40) {
^~~~~~~~~~~~~~~~~~
gstccconverter.c:572:12: note: initialize the variable 'len' to silence this warning
guint len;
^
= 0
2019-03-25 18:28:55 +01:00
Josep Torra
e73280782c
closedcaption: fix build error in OSX
...
Fixes the following error by commenting an unused block.
./misc.h:503:11: error: 'strlcpy' macro redefined [-Werror,-Wmacro-redefined]
2019-03-25 18:28:55 +01:00
Seungha Yang
60983fcea9
nvenc: Don't release stream lock on GstVideoEncoder::stop()
...
baseclass didn't take the stream lock during stop. It's valid only for
GstVideoEncoder::finish()
Closes https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/912
2019-03-25 22:26:35 +09:00
Haihao Xiang
ac1408874b
msdkvpp: add VUYA format in the src and sink pads
2019-03-25 09:50:33 +00:00
Haihao Xiang
8389e88840
msdk: return the right pointer for GST_VIDEO_FORMAT_VUYA frame
...
The first component for GST_VIDEO_FORMAT_VUYA in memory is V.
2019-03-25 09:50:33 +00:00
Haihao Xiang
24d12a4abf
msdk: set some parameters in mfxFrameData for a MFX_FOURCC_AYUV frame
2019-03-25 09:50:33 +00:00
Haihao Xiang
5a5d707cdd
msdk: map MFX_FOURCC_AYUV to VA_FOURCC_AYUV
2019-03-25 09:50:33 +00:00
Haihao Xiang
cd8696d2b2
msdk: map GST_VIDEO_FORMAT_VUYA to VA_FOURCC_AYUV
2019-03-25 09:50:33 +00:00
Haihao Xiang
f7863cc741
msdk: map GST_VIDEO_FORMAT_VUYA to MFX_FOURCC_AYUV
2019-03-25 09:50:33 +00:00
Haihao Xiang
28a1b0c418
msdkdec: avoid infinite loop
...
It is possible MFXVideoDECODE_DecodeFrameAsync returns MFX_ERR_INCOMPATIBLE_VIDEO_PARAM
and this error can't be recovered by retrying MFXVideoDECODE_DecodeFrameAsync
in some cases, so we need to limit the number of retries to avoid infinite loop.
This fixes https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/909
2019-03-25 09:10:38 +00:00
Tim-Philipp Müller
35cdefe2e0
g-i: pass --quiet to g-ir-scanner
...
This suppresses the annoying 'g-ir-scanner: link: cc ..' output
that we get even if everything works just fine.
We still get g-ir-scanner warnings and compiler warnings if
we pass this option.
2019-03-23 18:58:06 +00:00
Tim-Philipp Müller
cacd51fa93
g-i: silence 'nested extern' compiler warnings when building scanner binary
...
We need a nested extern in our init section for the scanner binary
so we can call gst_init to make sure GStreamer types are initialised
(they are not all lazy init via get_type functions, but some are in
exported variables). There doesn't seem to be any other mechanism to
achieve this, so just remove that warning, it's not important at all.
2019-03-23 18:57:24 +00:00
Tim-Philipp Müller
054dc5282d
vulkan: fix some compiler warnings in gnu89 mode
...
for loop variable initialization and conflicting types for i.
2019-03-22 23:39:04 +00:00
Piotr Drąg
4be16c1ad8
Update LINGUAS
2019-03-21 17:18:36 +00:00
Tim-Philipp Müller
d6bae53e6b
openh264: fix build with gstreamer debug system disabled
...
See https://gitlab.freedesktop.org/gstreamer/gst-ci/merge_requests/89
2019-03-21 11:45:08 +00:00
Tim-Philipp Müller
8fd04194a9
meson: add -Wno-unused also to C++ args when gst debug system is disabled
2019-03-21 11:45:06 +00:00
Thibault Saunier
ebb0527e75
mxfdemux: Avoid possible NULL caps 'dereferencing'
2019-03-21 00:40:53 +00:00
Ilya Smelykh
33b587de1d
rtmpsrc: fix buffer leak on read error or EOS
2019-03-20 19:45:12 +07:00
Philippe Normand
6c228eef59
wpesrc: Register backend activity states
2019-03-20 10:14:51 +00:00
Philippe Normand
22b94a7a84
wpesrc: Always log loaded URI
2019-03-20 10:14:51 +00:00
Philippe Normand
451074a7e0
wpesrc: Implement webview background configuration support
2019-03-20 10:14:51 +00:00
Jan Alexander Steffens (heftig)
deb2f11fe2
srtpdec: Lower severity of srtp_err_status_replay_fail
...
AFAIU this happens when encountering retransmissions. Don't print a
warning for these packets.
2019-03-19 16:04:07 +01:00
Jan Alexander Steffens (heftig)
8ef4d01f60
srtpdec: Simplify code flow handling status_key_expired
...
Ensures a balanced UNLOCK -> LOCK.
2019-03-19 15:50:45 +01:00
Jan Alexander Steffens (heftig)
24b0e3e55f
srtpdec: Simplify checking the unprotect error
...
Introduce an err label to jump to. Avoid logging two warnings per
failure.
2019-03-19 13:47:41 +01:00
Jan Alexander Steffens (heftig)
34eaeb17f2
srtpdec: Simplify locking in gst_srtp_dec_decode_buffer
...
Don't drop the lock on filter just to unmap the buffer (or log a
message).
2019-03-19 13:47:41 +01:00
Tim-Philipp Müller
b541b58937
netsim: don't use G_INLINE_FUNC
...
It's deprecated. Just use 'inline'.
2019-03-18 15:12:37 +00:00
Xabier Rodriguez Calvar
7c136bbb5e
mssdemux: fix protection data double free
...
For not being duplicated here it was being freed when the manifest was
being destroyed and a second time when the buffer was being destroyed.
2019-03-18 15:23:07 +01:00
Haihao Xiang
2e3022c553
msdk: relicense the plugin to LGPL
...
Some files licensed under LGPL were included, so relicense the plugin
from BSD to LPGL. In addition, this patch removes the README per the
discussion in https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/853
Fixes https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/853
2019-03-17 18:15:46 +00:00
Mathieu Duponchelle
a2779ef366
webrtcbin: fix pt selection for FEC and RTX when BUNDLE
...
When we offer bundled media, payload types must be unique
across all bundled media, as they will be multiplexed in the
same session.
2019-03-15 18:37:51 +01:00
Andreas Frisch
2f907b7e2d
srtp: Spell 'mechanisms' right
2019-03-15 10:57:17 +01:00
Mathieu Duponchelle
17343aa3be
cccombiner: improve behaviour on timeout
...
Prior to this, cccombiner stopped consuming video buffers when
data wasn't arriving on its caption pad. In a live situation,
when aggregator is timing out we should still output whatever
video buffers are present, even if no caption buffers can be
aggregated with them.
2019-03-13 13:50:29 +01:00
Mathieu Duponchelle
08858d753c
webrtcbin: add get-transceiver signal
...
get-transceivers is not introspectable, and a method to get a
transceiver by index is convenient.
2019-03-12 21:04:48 +00:00
Jan Alexander Steffens (heftig)
dc0e95acab
webrtcbin: Filter transport stream stats by ssrc
...
Since the addition of BUNDLE support, the pads and the transceivers
share a single transport stream. When getting stats from the stream,
filter by the ssrc of the current pad to avoid merging the stats for
different pads.
Fixes https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/889
2019-03-12 01:40:59 +00:00
Jan Alexander Steffens (heftig)
926ff109b9
webrtcbin: Syntax cleanup
2019-03-12 01:40:59 +00:00
Nirbheek Chauhan
4430fa0e3e
closedcaption: Fix build with Visual Studio
...
../ext/closedcaption/io-sim.c(440): error C2065: 'M_PI': undeclared identifier
../ext/closedcaption/io-sim.c(442): error C2065: 'M_LN2': undeclared identifier
2019-03-11 15:02:53 +05:30
Nirbheek Chauhan
48d897f65f
nvenc: Fix build when cuda is found but nvenc is disabled
...
tests\check\meson.build:21:5: ERROR: Unknown variable "use_nvenc_gl".
Also do the same change in nvdec, just to be defensive about future
issues.
2019-03-11 14:45:14 +05:30
Seungha Yang
01a402e4ec
nvenc: More clean up on stop for encoder to be reusable
...
Encoder will not configure internal pool again if input_state exist
Fixes https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/912
2019-03-10 13:58:42 +09:00
Seungha Yang
74848770a5
nvenc: Ensure drain all frames on finish
...
To drain all queued encoding items, encoder should gracefully
wait the encoding thread without stealing queued items.
Otherwise, some input frames can be dropped.
2019-03-10 13:58:42 +09:00
Seungha Yang
231c76b0ce
tests: Add nvenc unit test
2019-03-10 13:58:38 +09:00
Yeongjin Jeong
8e860fffd9
nvenc: Fix GValue leaks
...
GValue should be freed with g_value_unset()
2019-03-09 15:17:30 +00:00
Tim-Philipp Müller
8ee9a94c4d
assrender: fix some leaks
...
g_slist_remove_*() removes the list node without freeing it.
2019-03-08 23:49:49 +00:00
Tim-Philipp Müller
ecb7049d7e
vulkan: fix some leaks
...
Fix vk_instance leak when state change fails like in
generic/states unit test.
2019-03-08 01:18:39 +00:00