Andrey Konovalov [Tue, 9 Apr 2019 18:32:36 +0000 (21:32 +0300)]
waylandsink: make gst_wl_window_is_toplevel aware of XDG shell
Aaron Boxer [Tue, 9 Apr 2019 15:26:28 +0000 (11:26 -0400)]
ccextractor: document importance of pipeline order for this element
Haihao Xiang [Thu, 21 Mar 2019 08:22:23 +0000 (16:22 +0800)]
msdkvpp: add BGR10A2_LE format in the src pad
example pipeline:
gst-launch-1.0 videotestsrc ! video/x-raw,format=P010_10LE ! msdkvpp ! \
video/x-raw,format=BGR10A2_LE ! fakesink
Haihao Xiang [Thu, 21 Mar 2019 08:14:47 +0000 (16:14 +0800)]
msdk: set some parameters in mfxFrameData for a MFX_FOURCC_A2RGB10 frame
Haihao Xiang [Thu, 21 Mar 2019 07:34:36 +0000 (15:34 +0800)]
msdk: map MFX_FOURCC_A2RGB10 to VA_FOURCC_A2R10G10B10
Haihao Xiang [Thu, 21 Mar 2019 07:29:15 +0000 (15:29 +0800)]
msdk: map GST_VIDEO_FORMAT_BGR10A2_LE to VA_FOURCC_A2R10G10B10
Haihao Xiang [Fri, 22 Mar 2019 05:43:23 +0000 (13:43 +0800)]
msdk: map GST_VIDEO_FORMAT_BGR10A2_LE to MFX_FOURCC_A2RGB10
Peter Körner [Tue, 9 Apr 2019 09:06:41 +0000 (11:06 +0200)]
decklinkvideosrc: add missing break in set_property-code
Aaron Boxer [Tue, 26 Mar 2019 13:43:46 +0000 (09:43 -0400)]
cea708decoder: use correct mask for font style
First three bits are used for font style, so mask
should be 0111 rather than 011 (in binary)
Tim-Philipp Müller [Sun, 7 Apr 2019 12:47:38 +0000 (13:47 +0100)]
tests: h264parse: add minimal unit test for closed caption SEI parsing
Tim-Philipp Müller [Fri, 29 Mar 2019 21:02:44 +0000 (21:02 +0000)]
h264parse: extract CEA-708 closed captions
Expose SEI data in the H.264 bitstream parser API and
extract closed captions and other things that are not
specified in the H.264 spec itself in the videoparser.
Based on patch by: Mathieu Duponchelle <mathieu@centricular.com>
https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/940
Matthew Waters [Wed, 27 Mar 2019 06:56:28 +0000 (17:56 +1100)]
vulkan: Add iOS window implementation
Matthew Waters [Mon, 25 Mar 2019 06:50:13 +0000 (17:50 +1100)]
vulkan: Add Cocoa window implementation
Matthew Waters [Fri, 29 Mar 2019 05:24:15 +0000 (16:24 +1100)]
vulkan: make the debug extension optional
i.e. don't fail if it's not available
Tim-Philipp Müller [Sat, 6 Apr 2019 13:39:22 +0000 (14:39 +0100)]
assrender: fix seeking backwards
Use proper API to flush libass events when we do
a flushing seek, and also do it in FLUSH_STOP
rather than FLUSH_START, so we can be sure
streaming has stopped.
Fixes seeking back in time.
Something seems to have changed in libass that
renders the old manual way of flushing events
ineffective and libass then seems to ignore
timestamps that are older than the ones last
seen then if we do it the old way.
Fixes #916
Tim-Philipp Müller [Sat, 6 Apr 2019 13:33:45 +0000 (14:33 +0100)]
assrender: improve debug logging in video chain
Print video timestamps only once and enumerate text
buffers to make output more concise and nicer to read.
Tim-Philipp Müller [Sat, 6 Apr 2019 13:31:37 +0000 (14:31 +0100)]
assrender: use subtitle segment to calculate running time for text
Not the video segment. This just for correctness, shouldn't make
any difference in practice since we don't support external SSA yet.
Mathieu Duponchelle [Wed, 12 Dec 2018 14:25:45 +0000 (15:25 +0100)]
rtponviftimestamp: prioritize PTS over DTS for NTP timestamp
NTP timestamps are supposed to match the expected presentation
time, prefering the DTS to compute them was incorrect.
<https://www.onvif.org/specs/stream/ONVIF-Streaming-Spec.pdf>
Section 6.3.1: NTP Timestamps
Mathieu Duponchelle [Tue, 13 Nov 2018 20:17:41 +0000 (21:17 +0100)]
rtponviftimestamp: buffer without PTS or DTS is not an error.
For example, when plugged after rtpgstpay, serialized events will
have neither.
Mathieu Duponchelle [Mon, 5 Nov 2018 19:32:03 +0000 (20:32 +0100)]
rtponviftimestamp: implement support for the T flag
https://www.onvif.org/specs/stream/ONVIF-Streaming-Spec.pdf
6.3 RTP header extension
Shi Yan [Thu, 4 Apr 2019 20:19:42 +0000 (20:19 +0000)]
Increase nvenc's encoding height to 4096
According to https://developer.nvidia.com/nvidia-video-codec-sdk
the minimum resolution nvenc supports should be 4096x4096
Nicolas Dufresne [Tue, 26 Mar 2019 02:21:09 +0000 (22:21 -0400)]
waylandsink: Wait for the surface to be configured
With latest XDG shell, we need to fait for the surface to have been
configured before we can attach a buffer to it. This is being enforce by
Weston with an error.
Fixes #933
Mathieu Duponchelle [Tue, 2 Apr 2019 13:18:03 +0000 (15:18 +0200)]
h264parse, h265parse: take unit_field_based_flag into account ..
when computing timecode metas. Depending on the value of that flag,
n_frames is to be interpreted as a number of fields or a number of
frames. As GstVideoTimeCodeMeta always deals with frames, we want
to scale that number when needed.
Mathieu Duponchelle [Sat, 30 Mar 2019 00:17:08 +0000 (01:17 +0100)]
h265parse: forward time codes
This transforms time code SEIs into GstVideoTimeCodeMeta
Mathieu Duponchelle [Thu, 28 Mar 2019 21:02:02 +0000 (22:02 +0100)]
h264parse: forward time codes
This transforms time codes from the timing SEI into
GstVideoTimeCodeMeta
Philippe Normand [Sat, 30 Mar 2019 14:02:50 +0000 (14:02 +0000)]
wpesrc: Switch to WPEBackend-fdo 1.2.0
Tim-Philipp Müller [Fri, 29 Mar 2019 12:09:02 +0000 (12:09 +0000)]
srtp: bump libsrtp requirement to 1.6.0
See !234
Haihao Xiang [Fri, 29 Mar 2019 05:22:55 +0000 (13:22 +0800)]
msdkdec: add postinit_decoder
The workaround for https://github.com/Intel-Media-SDK/MediaSDK/issues/1139
is required for vp8 only, so move this workaround to the corresponding
postinit_decoder function
The pipeline below works with this change
gst-launch-1.0 filesrc location=SA10104.vc1 ! \
'video/x-wmv,profile=(string)advanced',width=720,height=480,framerate=14/1 ! \
msdkvc1dec ! fakesink
Haihao Xiang [Fri, 29 Mar 2019 04:53:38 +0000 (12:53 +0800)]
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.
Haihao Xiang [Fri, 29 Mar 2019 04:57:10 +0000 (12:57 +0800)]
msdkvc1dec: add the preinit_decoder function
Philippe Normand [Thu, 28 Mar 2019 18:27:28 +0000 (18:27 +0000)]
wpe: Bump required version to WPEWebKit 2.24
Fixes #929
Aaron Boxer [Wed, 27 Mar 2019 17:22:47 +0000 (13:22 -0400)]
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
Ulf Olsson [Wed, 6 Mar 2019 06:36:44 +0000 (07:36 +0100)]
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
Seungha Yang [Tue, 26 Mar 2019 11:43:22 +0000 (20:43 +0900)]
nvenc: Don't leak CUDA device memory
Allocated device memory should be freed with cuMemFree
Seungha Yang [Tue, 26 Mar 2019 11:24:22 +0000 (20:24 +0900)]
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.
Haihua Hu [Thu, 28 Feb 2019 09:42:58 +0000 (17:42 +0800)]
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
Josep Torra [Fri, 22 Mar 2019 21:32:59 +0000 (22:32 +0100)]
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
Josep Torra [Fri, 22 Mar 2019 21:25:20 +0000 (22:25 +0100)]
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]
Seungha Yang [Mon, 25 Mar 2019 13:24:17 +0000 (22:24 +0900)]
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
Haihao Xiang [Fri, 8 Mar 2019 04:22:52 +0000 (12:22 +0800)]
msdkvpp: add VUYA format in the src and sink pads
Haihao Xiang [Thu, 14 Mar 2019 04:05:58 +0000 (12:05 +0800)]
msdk: return the right pointer for GST_VIDEO_FORMAT_VUYA frame
The first component for GST_VIDEO_FORMAT_VUYA in memory is V.
Haihao Xiang [Fri, 8 Mar 2019 04:20:56 +0000 (12:20 +0800)]
msdk: set some parameters in mfxFrameData for a MFX_FOURCC_AYUV frame
Haihao Xiang [Fri, 8 Mar 2019 04:15:14 +0000 (12:15 +0800)]
msdk: map MFX_FOURCC_AYUV to VA_FOURCC_AYUV
Haihao Xiang [Fri, 8 Mar 2019 04:26:37 +0000 (12:26 +0800)]
msdk: map GST_VIDEO_FORMAT_VUYA to VA_FOURCC_AYUV
Haihao Xiang [Fri, 8 Mar 2019 04:13:05 +0000 (12:13 +0800)]
msdk: map GST_VIDEO_FORMAT_VUYA to MFX_FOURCC_AYUV
Haihao Xiang [Wed, 6 Mar 2019 05:07:53 +0000 (13:07 +0800)]
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
Tim-Philipp Müller [Sat, 23 Mar 2019 18:58:06 +0000 (18:58 +0000)]
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.
Tim-Philipp Müller [Sat, 23 Mar 2019 18:57:24 +0000 (18:57 +0000)]
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.
Tim-Philipp Müller [Fri, 22 Mar 2019 23:35:04 +0000 (23:35 +0000)]
vulkan: fix some compiler warnings in gnu89 mode
for loop variable initialization and conflicting types for i.
Piotr Drąg [Sun, 10 Mar 2019 19:28:24 +0000 (19:28 +0000)]
Update LINGUAS
Tim-Philipp Müller [Thu, 21 Mar 2019 11:14:37 +0000 (11:14 +0000)]
openh264: fix build with gstreamer debug system disabled
See https://gitlab.freedesktop.org/gstreamer/gst-ci/merge_requests/89
Tim-Philipp Müller [Thu, 21 Mar 2019 11:13:38 +0000 (11:13 +0000)]
meson: add -Wno-unused also to C++ args when gst debug system is disabled
Thibault Saunier [Thu, 21 Mar 2019 00:38:04 +0000 (21:38 -0300)]
mxfdemux: Avoid possible NULL caps 'dereferencing'
Ilya Smelykh [Wed, 20 Mar 2019 12:45:12 +0000 (19:45 +0700)]
rtmpsrc: fix buffer leak on read error or EOS
Philippe Normand [Thu, 31 Jan 2019 16:31:04 +0000 (16:31 +0000)]
wpesrc: Register backend activity states
Philippe Normand [Thu, 31 Jan 2019 16:30:18 +0000 (16:30 +0000)]
wpesrc: Always log loaded URI
Philippe Normand [Fri, 18 Jan 2019 13:28:45 +0000 (13:28 +0000)]
wpesrc: Implement webview background configuration support
Jan Alexander Steffens (heftig) [Fri, 15 Mar 2019 10:19:03 +0000 (11:19 +0100)]
srtpdec: Lower severity of srtp_err_status_replay_fail
AFAIU this happens when encountering retransmissions. Don't print a
warning for these packets.
Jan Alexander Steffens (heftig) [Fri, 15 Mar 2019 10:16:10 +0000 (11:16 +0100)]
srtpdec: Simplify code flow handling status_key_expired
Ensures a balanced UNLOCK -> LOCK.
Jan Alexander Steffens (heftig) [Fri, 15 Mar 2019 10:13:14 +0000 (11:13 +0100)]
srtpdec: Simplify checking the unprotect error
Introduce an err label to jump to. Avoid logging two warnings per
failure.
Jan Alexander Steffens (heftig) [Fri, 15 Mar 2019 10:03:52 +0000 (11:03 +0100)]
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).
Tim-Philipp Müller [Mon, 18 Mar 2019 15:12:37 +0000 (15:12 +0000)]
netsim: don't use G_INLINE_FUNC
It's deprecated. Just use 'inline'.
Xabier Rodriguez Calvar [Mon, 18 Mar 2019 14:23:07 +0000 (15:23 +0100)]
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.
Haihao Xiang [Thu, 14 Mar 2019 08:37:13 +0000 (16:37 +0800)]
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
Mathieu Duponchelle [Fri, 15 Mar 2019 15:47:35 +0000 (16:47 +0100)]
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.
Andreas Frisch [Fri, 15 Mar 2019 09:46:56 +0000 (10:46 +0100)]
srtp: Spell 'mechanisms' right
Mathieu Duponchelle [Wed, 13 Mar 2019 12:43:54 +0000 (13:43 +0100)]
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.
Mathieu Duponchelle [Tue, 12 Mar 2019 20:37:53 +0000 (21:37 +0100)]
webrtcbin: add get-transceiver signal
get-transceivers is not introspectable, and a method to get a
transceiver by index is convenient.
Jan Alexander Steffens (heftig) [Thu, 7 Mar 2019 13:13:14 +0000 (14:13 +0100)]
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
Jan Alexander Steffens (heftig) [Thu, 7 Mar 2019 13:12:47 +0000 (14:12 +0100)]
webrtcbin: Syntax cleanup
Nirbheek Chauhan [Mon, 11 Mar 2019 09:30:59 +0000 (15:00 +0530)]
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
Nirbheek Chauhan [Mon, 11 Mar 2019 09:15:14 +0000 (14:45 +0530)]
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.
Seungha Yang [Fri, 8 Mar 2019 04:43:15 +0000 (13:43 +0900)]
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
Seungha Yang [Thu, 13 Dec 2018 13:03:36 +0000 (22:03 +0900)]
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.
Seungha Yang [Thu, 13 Dec 2018 13:19:30 +0000 (22:19 +0900)]
tests: Add nvenc unit test
Yeongjin Jeong [Tue, 5 Mar 2019 09:55:16 +0000 (18:55 +0900)]
nvenc: Fix GValue leaks
GValue should be freed with g_value_unset()
Tim-Philipp Müller [Fri, 8 Mar 2019 23:49:49 +0000 (23:49 +0000)]
assrender: fix some leaks
g_slist_remove_*() removes the list node without freeing it.
Tim-Philipp Müller [Thu, 7 Mar 2019 19:26:56 +0000 (19:26 +0000)]
vulkan: fix some leaks
Fix vk_instance leak when state change fails like in
generic/states unit test.
Tim-Philipp Müller [Thu, 7 Mar 2019 18:20:40 +0000 (18:20 +0000)]
teletextdec: fix some string leaks
Tim-Philipp Müller [Thu, 7 Mar 2019 00:02:13 +0000 (00:02 +0000)]
srt: fix uri and string leaks
And simplify property getter to avoid unnecessary copy.
Tim-Philipp Müller [Wed, 6 Mar 2019 23:45:27 +0000 (23:45 +0000)]
closedcaption: cea708decoder: fix some memory leaks
Tim-Philipp Müller [Wed, 6 Mar 2019 18:32:38 +0000 (18:32 +0000)]
closedcaption: fix leak in line21 decoder
Destroy old decoder instance when shutting down the
element, and also in case the input format changes.
Fix harness/pipeline leak in unit test.
Tim-Philipp Müller [Wed, 6 Mar 2019 21:32:50 +0000 (21:32 +0000)]
tests: fix bus leak in hls_demux testSeek unit test
We add the signal watch in testSeekPreTestCallback so
remove it in testSeekPostTestCallback and not deep inside
some if clause in some other callback somewhere.
Tim-Philipp Müller [Wed, 6 Mar 2019 18:35:46 +0000 (18:35 +0000)]
.gitignore more things
Seungha Yang [Thu, 7 Mar 2019 12:21:18 +0000 (21:21 +0900)]
nvdec/nvenc: Add CUDA Toolkit 10.1 support
Update to support the latest CUDA Toolkit version 10.1
Jan Alexander Steffens (heftig) [Thu, 7 Mar 2019 09:15:16 +0000 (10:15 +0100)]
fluidsynth: Avoid Wincompatible-pointer-types with 2.0.4
In 2.0.4, the message parameter has "const char*" type. Add a cast to
avoid a warning with older fluidsynth.
Mathieu Duponchelle [Wed, 6 Mar 2019 14:17:24 +0000 (15:17 +0100)]
line21: fix tests build with autotools
Mathieu Duponchelle [Wed, 6 Mar 2019 10:23:32 +0000 (11:23 +0100)]
line21dec: general cleanup
This ports over the review comments made on line21enc in !217
Mathieu Duponchelle [Fri, 22 Feb 2019 23:23:01 +0000 (00:23 +0100)]
closedcaption: add line21 encoder
This element acts as a counterpart of line21encoder.
Also adds a simple test validating each element using the
other.
Mathieu Duponchelle [Thu, 21 Feb 2019 18:05:03 +0000 (19:05 +0100)]
Check in vbi encoder
Niels De Graef [Fri, 1 Mar 2019 08:56:24 +0000 (09:56 +0100)]
waylandsink: Implement XDG-shell stable support
[wl_shell] is officially [deprecated], so provide support for the
XDG-shell protocol should be provided by all desktop-like compositors.
(In case they don't, we can of course fall back to wl_shell).
Note that the [XML spec] is provided by the `wayland-protocols`
git repository, which is provided by the Wayland project.
Fixes https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/897
[wl_shell]: https://people.freedesktop.org/~whot/wayland-doxygen/wayland/Client/group__iface__wl__shell.html
[deprecated]: https://github.com/wayland-project/wayland/commit/
698dde195837f3d0844b2725ba4ea8ce9ee7518c
[XML spec]: https://github.com/wayland-project/wayland-protocols/blob/master/stable/xdg-shell/xdg-shell.xml
Niels De Graef [Fri, 1 Mar 2019 09:17:23 +0000 (10:17 +0100)]
waylandsink: prefix wl_shell-specific variables with wl_
Peter Körner [Sun, 3 Mar 2019 18:34:11 +0000 (19:34 +0100)]
decklink: document duplex and keyer behaviour
Peter Körner [Sun, 3 Mar 2019 18:34:06 +0000 (19:34 +0100)]
decklink: implement duplex-mode property
Tim-Philipp Müller [Mon, 4 Mar 2019 09:11:55 +0000 (09:11 +0000)]
Back to development
Nirbheek Chauhan [Fri, 1 Mar 2019 16:17:14 +0000 (21:47 +0530)]
build: Don't forget to dist applemedia/avfdeviceprovider.h
Closes https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/908
Seungha Yang [Thu, 28 Feb 2019 12:37:49 +0000 (21:37 +0900)]
mskd: Don't use MFX_FOURCC_RGB565 if it's undefined
../subprojects/gst-plugins-bad/sys/msdk/msdk.c(61): error C2065: 'MFX_FOURCC_RGB565'
The minimum required version for the format seems to MFX_VERSION >= 1028
Mathieu Duponchelle [Thu, 28 Feb 2019 16:24:56 +0000 (17:24 +0100)]
cccombiner: implement update_src_caps
It is necessary to implement this vmethod, as when the src pad
is marked as reconfigure, the base class will reset to src caps,
and the default update_src_caps simply queries the caps allowed
downstream without taking into account the caps set by
gst_aggregator_set_src_caps.
Haihao Xiang [Thu, 28 Feb 2019 04:00:56 +0000 (12:00 +0800)]
msdkdec: fix for small resolution
Haihao Xiang [Wed, 27 Feb 2019 00:07:29 +0000 (08:07 +0800)]
msdkdec: fix for resolution change
Returning MFX_ERR_INCOMPATIBLE_VIDEO_PARAM from
MFXVideoDECODE_DecodeFrameAsync means the allocated mfx surface is not
suitable for the current frame, we need a new mfx surface and try
MFXVideoDECODE_DecodeFrameAsync again.