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.
Tim-Philipp Müller [Thu, 28 Feb 2019 11:02:42 +0000 (11:02 +0000)]
meson: don't build icles when tests are disabled
They are manual tests, so let them be controlled
via the tests option not the examples option, for
consistency with -good.
Sebastian Dröge [Mon, 25 Feb 2019 13:23:34 +0000 (15:23 +0200)]
hlssink2: Add property for disabling sending of force-keyunit events
Mathieu Duponchelle [Wed, 27 Feb 2019 17:47:09 +0000 (18:47 +0100)]
mpegtsmux: restore stream creation order
In
7c767f3fcd5a7b40d205bb4d588dad6c6275c729 , stream creation was
refactored to occur before potential program creation. This created
issues with pipelines such as:
gst-launch-1.0 videotestsrc ! video/x-raw, format=I420, width=640, height=640, framerate=25/1 ! \
x264enc ! hlssink2 target-duration=1
eg.: gst_buffer_copy_into: assertion 'bufsize >= offset + size' failed
As this reordering was actually not needed for the purpose of allowing
to specify a PCR stream, this reverts the reordering part of the
initial commit.
Haihao Xiang [Fri, 22 Feb 2019 08:20:16 +0000 (16:20 +0800)]
msdkdec: force the alignment of width/height to 16 for vp8/vp9
MSDK library requires 16 alignment for vp8/vp9, otherwise a pipeline
for vp8/vp9 decoding might fail.
example pipeline:
gst-launch-1.0 filesrc location=vp8_1280x720.webm ! matroskademux ! \
msdkvp8dec ! fakesink
0:00:00.
150565444 10657 0x55c8484036d0 ERROR msdkdec
gstmsdkdec.c:1056:gst_msdkdec_handle_frame:<msdkvp8dec0>
DecodeFrameAsync failed (invalid video parameters)
Haihao Xiang [Mon, 25 Feb 2019 04:43:19 +0000 (12:43 +0800)]
msdkvpp: add RGB16 format in the sink pad
Note: MSDK doesn't support RGB16 output, hence don't add RGB16 format in
the src pad
Haihao Xiang [Mon, 25 Feb 2019 04:18:05 +0000 (12:18 +0800)]
msdk: set some parameters in mfxFrameData for a RGB16 frame
Haihao Xiang [Mon, 25 Feb 2019 05:24:46 +0000 (13:24 +0800)]
msdk: map MFX_FOURCC_RGB565 to VA_FOURCC_RGB565
Haihao Xiang [Mon, 25 Feb 2019 04:29:25 +0000 (12:29 +0800)]
msdk: map GST_VIDEO_FORMAT_RGB16 to VA_FOURCC_RGB565
Haihao Xiang [Mon, 25 Feb 2019 05:23:49 +0000 (13:23 +0800)]
msdk: map GST_VIDEO_FORMAT_RGB16 to MFX_FOURCC_RGB565
Tim-Philipp Müller [Tue, 26 Feb 2019 11:53:22 +0000 (11:53 +0000)]
Release 1.15.2
Tim-Philipp Müller [Tue, 26 Feb 2019 11:53:22 +0000 (11:53 +0000)]
Update docs
Tim-Philipp Müller [Tue, 26 Feb 2019 11:53:18 +0000 (11:53 +0000)]
Update translations
Haihao Xiang [Mon, 11 Feb 2019 08:49:32 +0000 (16:49 +0800)]
msdkdec: release the occupied surface for MFX_WRN_DEVICE_BUSY
When MFXVideoDECODE_DecodeFrameAsync () returns MFX_WRN_DEVICE_BUSY with
an output surface, a new input surface is required when retrying
MFXVideoDECODE_DecodeFrameAsync ().
This fixes the out-of-surface issue mentioned in
https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/890
Haihao Xiang [Fri, 18 Jan 2019 07:14:59 +0000 (15:14 +0800)]
msdk: don't destroy an image twice
This gets rid of annoying message in the log, e.g. run the pipeline
below:
gst-launch-1.0 videotestsrc num-buffers=100 ! \
video/x-raw,format=NV12,width=352,height=288 ! msdkh264enc ! filesink \
location=test.h264
[LIBVA]:CRITICAL - DdiMedia_DestroyImage:4357: Invalid image
Haihao Xiang [Thu, 17 Jan 2019 08:05:05 +0000 (16:05 +0800)]
msdk: move the comment to the correct place
Aaron Boxer [Wed, 20 Feb 2019 17:52:08 +0000 (12:52 -0500)]
srtobject: check for null local address to avoid SIGSEV
Mathieu Duponchelle [Thu, 21 Feb 2019 22:51:39 +0000 (23:51 +0100)]
ccconverter: fix typo in framerate
Vivia Nikolaidou [Thu, 21 Feb 2019 15:16:37 +0000 (15:16 +0000)]
audiobuffersplit: Added max-silence-time property
Mathieu Duponchelle [Wed, 20 Feb 2019 10:26:01 +0000 (11:26 +0100)]
mpegtsmux: allow specifying the PID of the PCR stream
The structure passed through the prog-map can now contain a
PCR_<prog_id>=sink_<PID> key-value pair.
Tim-Philipp Müller [Thu, 14 Feb 2019 10:58:00 +0000 (10:58 +0000)]
decklink: add Hardware tag to element metadata
Tim-Philipp Müller [Thu, 14 Feb 2019 10:54:25 +0000 (10:54 +0000)]
wasapi: add Hardware tag to element metadata
Tim-Philipp Müller [Thu, 14 Feb 2019 10:44:00 +0000 (10:44 +0000)]
winks: add Hardware tag to element metadata
Tim-Philipp Müller [Thu, 14 Feb 2019 09:49:46 +0000 (09:49 +0000)]
androidmedia: add Hardware tag to element metadata
Tim-Philipp Müller [Thu, 14 Feb 2019 09:49:03 +0000 (09:49 +0000)]
applemedia: add Hardware tag to element metadata
Tim-Philipp Müller [Thu, 14 Feb 2019 09:47:29 +0000 (09:47 +0000)]
msdk: add Hardware tag to element metadata
Tim-Philipp Müller [Thu, 14 Feb 2019 09:43:54 +0000 (09:43 +0000)]
nvenc, nvdec: add Hardware tag to element metadata
Alex Ashley [Tue, 5 Feb 2019 17:10:03 +0000 (17:10 +0000)]
curlhttpsrc: set BUFFER_OFFSET when creating GstBuffer
To make curlhttpsrc behave more like souphttpsrc, set the
BUFFER_OFFSET in its output buffers to match the segment
start. This means that in a HTTP RANGE request, the BUFFER_OFFSET
will match the value in the RANGE request.
Alex Ashley [Tue, 5 Feb 2019 17:06:50 +0000 (17:06 +0000)]
curlhttpsrc: export same HTTP error status as souphttpsrc
To make it closer to a drop-in replacement for souphttpsrc,
expose the same gst_error_message_with_details as souphttpsrc,
so that applications can received the HTTP status code and reason
when an error occurs.
Alex Ashley [Tue, 5 Feb 2019 16:34:40 +0000 (16:34 +0000)]
curlhttpsrc: fix various leaks and thread safety issues
curlhttpsrc uses a single thread running the
gst_curl_http_src_curl_multi_loop() function to handle receiving
data and messages from libcurl. Each instance of curlhttpsrc adds
an entry into a queue in GstCurlHttpSrcMultiTaskContext and waits
for the multi_loop to perform the HTTP request.
Valgrind has shown up race conditions and memory leaks:
1. gst_curl_http_src_change_state() does not wait for the multi_loop
to complete before going to the NULL state, which means that
an instance of GstCurlHttpSrc can be released while
gst_curl_http_src_curl_multi_loop() still has a reference to it.
2. if multiple elements try to be removed from the queue at once,
only the last one is deleted.
3. source->caps is leaked
4. curl multi_handle is leaked
5. leak of curl_handle if URI not set
6. leak of http_headers when reusing element
7. null pointer dereference in negotiate caps
8. double-free of the default user-agent string
9. leak of multi_task_context.task
This commit changes the logic so that each element has a connection
status, which is used by the multi_loop to decide when to remove an
element from its queue. An instance of curlhttpsrc will not enter
the NULL state until its reference has been removed from the queue.
When shutting down the curl multi loop, the memory allocated from the
call to curl_multi_init() is now released.
When gstadaptivedemux uses a URI source element, it will re-use
it for multiple requests, moving it between READY and PLAYING
between each request. curlhttpsrc was leaking the http_headers
structure in this use case.
The gst_curl_http_src_negotiate_caps() function extracts the
"response-headers" field from the http_headers, but did not check
that this field might be NULL.
If the user-agent property is set, the global user-agent string
was freed. This caused a double-free error if the user-agent is
ever set a second time during the execution of the process.
There are situations within curlhttpsrc where the code needs
both the global multi_task_context mutex and the per-element
buffer_mutex. To avoid deadlocks, it is vital that the order in
which these are requested is always the same. This commit modifies
the locking order to always be in the order:
1. multi_task_context.task_rec_mutex
2. buffer_mutex
Fixes #876
Alex Ashley [Tue, 5 Feb 2019 16:23:01 +0000 (16:23 +0000)]
tests: curlhttpsrc: add unit tests
Based upon the souphttpsrc tests, add unit tests for the curlhttpsrc
element. The souphttpsrc tests are able to use an HTTP server that
is provided as part of the soup library. This does not exist in the
curl library, therefore these tests provide a very simple HTTP server
using the GIO library.
These curlhttpsrc tests contain one new test that does not come from
the souphttpsrc tests. The test_multiple_http_requests test tries to
reproduce the way in which GstAdaptiveDemux makes use of URI source
elements. GstAdaptiveDemux creates a bin with the httpsrc element
and a queue element and sets the locked state of that bin to TRUE,
so that it does not follow the state transitions of its parent. It
then moves this bin to the PLAYING state to start each download and
back to READY when the download completes.
Haihao Xiang [Thu, 14 Feb 2019 06:48:12 +0000 (14:48 +0800)]
msdkvpp: allow UYVY in DMABuf mode in the sink pad
Tested with the pipeline below:
gst-launch-1.0 videotestsrc num-buffers=1 ! msdkvpp ! \
video/x-raw\(memory:DMABuf\),format=UYVY ! msdkvpp ! video/x-raw, \
format=YUY2 ! filesink location=a.yuv
Haihao Xiang [Thu, 14 Feb 2019 05:56:52 +0000 (13:56 +0800)]
msdkvpp: allow UYVY in the src pad
This make the pipeline below works:
gst-launch-1.0 videotestsrc num-buffers=1 ! msdkvpp ! \
video/x-raw,format=UYVY ! filesink location=a.yuv
Once https://github.com/intel/media-driver/pull/526 in the media-driver
is merged, the pipeline below also works:
gst-launch-1.0 videotestsrc num-buffers=1 ! msdkvpp ! \
video/x-raw\(memory:DMABuf\),format=UYVY ! filesink location=a.yuv
Haihao Xiang [Wed, 2 Jan 2019 11:48:34 +0000 (19:48 +0800)]
msdk: map GST_VIDEO_FORMAT_UYVY to VA_FOURCC_UYVY
Haihao Xiang [Thu, 14 Feb 2019 05:43:13 +0000 (13:43 +0800)]
msdkvpp: allow BGRx in DMABuf mode in the src pad
Tested with the pipeline below:
gst-launch-1.0 videotestsrc ! msdkvpp ! \
video/x-raw\(memory:DMABuf\),format=BGRx ! glimagesink
Bastien Nocera [Mon, 18 Feb 2019 14:15:44 +0000 (15:15 +0100)]
vcdsrc: Remove unusable VCD source
The VCD source was ported in 2014 (commit 89eb1e9), but the necessary
"cdxaparse" plugin, which is used to "Parse a .dat file (VCD) into
raw mpeg1" was never ported.
This means that the probable main user for the feature, totem, hasn't
actually been able to play back VCDs, since 2012, when it switched to
using GStreamer 1.0.
Note that even if cdxaparse was finally ported, a lot of work would
still be necessary before it is considered usable. Notably, it is
missing disc image support [1] and some VCDs just cannot be opened for
reading [2].
[1]: https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/898
[2]: https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/899
Nirbheek Chauhan [Fri, 15 Feb 2019 17:21:21 +0000 (22:51 +0530)]
closedcaption: Use portable variadic macro syntax
args... is not understood by MSVC:
error C2010: '.': unexpected in macro parameter list
Nirbheek Chauhan [Fri, 15 Feb 2019 17:22:30 +0000 (22:52 +0530)]
closedcaption: Port plugin to MSVC
pthread is not portable, so we can't use a pthread mutex use GMutex
instead.
Daniel Stone [Wed, 9 May 2018 12:16:15 +0000 (13:16 +0100)]
waylandsink: Don't create throwaway empty regions
Instead of creating a region, adding nothing to it, setting that as the
input region and destroying the region, you can instead just pass NULL
to wl_surface_set_input_region for the same effect.
Fixes #702
Matthew Waters [Fri, 15 Feb 2019 08:15:11 +0000 (19:15 +1100)]
webrtc: fix rtx + bundle
If bundle was used in combination with rtx, only the bundled transport
stream would have correctly configured rtx parameters.
Iterate over the payloads upfront in the bundled case to ensure the
correct payload mapping is set for the RTX elements.
Edward Hervey [Wed, 13 Feb 2019 16:24:50 +0000 (17:24 +0100)]
dtls: Don't abort on non-fatal issues
OpenSSL will take care of returning valid context if there are
only non-fatal issues. Don't abort in those cases and instead just
print out the issues
Fixes https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/811
Jan Alexander Steffens (heftig) [Wed, 13 Feb 2019 15:09:45 +0000 (16:09 +0100)]
fdkaacenc: Fix draining with libfdk-aac v2.0.0
This release requires all buffer descriptor pointers to be valid, even
when we provide zero input buffers.
Jan Schmidt [Tue, 12 Feb 2019 13:54:50 +0000 (00:54 +1100)]
tsdemux: Skew correction should use the upstream DTS
The MPEG-TS packetiser should use the upstream DTS for
skew correction when running in that mode, as the DTS
carries the upstream arrival time. The PTS (if it's
set at all) is less useful, and can be invalid.
Sebastian Dröge [Tue, 12 Feb 2019 12:31:13 +0000 (14:31 +0200)]
ccconverter: Don't output empty buffers
Sebastian Dröge [Tue, 12 Feb 2019 12:30:49 +0000 (14:30 +0200)]
decklinkvideosink: Use S334_EIA_608 instead of S334_EIA_708 for CEA608 output
Sebastian Dröge [Tue, 12 Feb 2019 12:30:13 +0000 (14:30 +0200)]
decklinkvideosink: S334 1A CEA608 closed captions have the first bit set for the first field
And not for the second field. The logic was inverted here.
Haihao Xiang [Mon, 11 Feb 2019 05:53:19 +0000 (13:53 +0800)]
msdkdec: set decode_only for output only
MSDK may return MFX_ERR_MORE_DATA but without output surface
Fixes https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/887
Haihao Xiang [Tue, 12 Feb 2019 02:53:55 +0000 (10:53 +0800)]
msdk: verify the driver name
We need to make sure the Intel graphics card is used in a dual GPU
system.
Fixes https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/895
Justin Kim [Fri, 25 Jan 2019 07:25:10 +0000 (16:25 +0900)]
srt: re-enable passphrase
With refactoring, supporting passphrase was removed accidently.
This commit re-enables srt encryption and validates 'passphrase'
by checking the return value of 'srt_setsockopt'.
fix: #694
Seungha Yang [Mon, 11 Feb 2019 12:21:52 +0000 (21:21 +0900)]
openh264dec: Fix build with msvc
Fix following build error
../subprojects/gst-plugins-bad/ext/openh264/gstopenh264dec.cpp(76): error C2121:
Note that msvc usually complains #if inside macro
Josh Matthews [Sun, 27 Jan 2019 03:09:59 +0000 (22:09 -0500)]
Add device provider for AVFoundation capture devices.
Nirbheek Chauhan [Tue, 5 Feb 2019 18:23:17 +0000 (23:53 +0530)]
misc: Fix warnings on Cerbero MinGW
gstladspa.c:360:5: error: zero-length ms_printf format string [-Werror=format-zero-length]
vad_private.c:108:3: error: this decimal constant is unsigned only in ISO C90 [-Werror]
gstdecklinkvideosink.cpp:478:32: error: comparison between 'BMDTimecodeFormat {aka enum _BMDTimecodeFormat}' and 'enum GstDecklinkTimecodeFormat' [-Werror=enum-compare]
win/DeckLinkAPI_i.c:72:8: error: extra tokens at end of #endif directive [-Werror]
win/DeckLinkAPIDispatch.cpp:35:10: error: unused variable 'res' [-Werror=unused-variable]
gstwasapiutil.c:733:3: error: format '%x' expects argument of type 'unsigned int', but argument 8 has type 'DWORD' [-Werror=format]
gstwasapiutil.c:733:3: error: format '%x' expects argument of type 'unsigned int', but argument 9 has type 'guint64' [-Werror=format]
kshelpers.c:446:3: error: missing braces around initializer [-Werror=missing-braces]
kshelpers.c:446:3: error: (near initialization for 'known_property_sets[0].guid.Data4') [-Werror=missing-braces]
Haihao Xiang [Sat, 2 Feb 2019 05:26:32 +0000 (13:26 +0800)]
msdkdec: Release occupied surface for MFX_ERR_MORE_DATA
An output surface is returned but without sync point when when
MFXVideoDECODE_DecodeFrameAsync () returns MFX_ERR_MORE_DATA, this
surface should be released too, otherwise the surface is occupied
and it is easy to exhaust all pre-allocated mfx surfaces.
Example pipeline (input_vp8.webm contains lots of frame with show_frame
set to 0):
gst-launch-1.0 filesrc location=input_vp8.webm ! matroskademux !
msdkvp8dec ! msdkvpp ! fakesink
0:00:05.
995959693 19866 0x563f30f14590 ERROR default
gstmsdkvideomemory.c:77:gst_msdk_video_allocator_get_surface: failed to
get surface available
ERROR: from element
/GstPipeline:pipeline0/GstMatroskaDemux:matroskademux0: Internal data
stream error.
Nicola Murino [Sat, 2 Feb 2019 15:54:23 +0000 (16:54 +0100)]
opencv cameraundistort: use G_GNUC_UNUSED for better portability
Nicola Murino [Mon, 17 Dec 2018 22:32:26 +0000 (23:32 +0100)]
opencv: remove deprecated headers
are not needed anymore
Nicola Murino [Sat, 1 Dec 2018 21:48:53 +0000 (22:48 +0100)]
opencv: port to c++
Víctor Manuel Jáquez Leal [Sat, 2 Feb 2019 16:51:35 +0000 (17:51 +0100)]
msdkdec: explain the the extra ref of input buffer
Haihao Xiang [Fri, 11 Jan 2019 08:18:11 +0000 (16:18 +0800)]
msdkdec: avoid releasing the input buffer when it is still in use
The input buffer is released in gst_msdkdec_finish_task () when decoding
some special clips however this buffer is still in use, so ref the input
buffer before gst_msdkdec_finish_task () and unref it at the end of
gst_msdkdec_handle_frame ().
Fixes https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/862
Nirbheek Chauhan [Thu, 31 Jan 2019 09:54:06 +0000 (15:24 +0530)]
meson: orc-test is not required
This is especially never available on iOS.
Haihao Xiang [Wed, 16 Jan 2019 07:15:13 +0000 (15:15 +0800)]
msdkvp9dec: output P010_10LE buffer if possible
Haihao Xiang [Wed, 16 Jan 2019 06:52:35 +0000 (14:52 +0800)]
msdkvp9dec: use separate src caps
We will add more formats in the src caps of msdkvp9dec, so let
msdkvp9dec uses separate src caps. Note it doesn't change any
capability
Thibault Saunier [Thu, 31 Jan 2019 01:16:39 +0000 (22:16 -0300)]
testbin: Do not take FlowCombiner into account when flushing
The way FlowCombiner combines the FLUSH doesn't work in the case
we have several "sinkpads" since any flush return FLUSH. But in the
case we have a seek where on one branch flush is done, we should
just say OK otherwise we might return FLUSHING to a src that has already
been seeked and is ready to process new buffers
Thibault Saunier [Wed, 30 Jan 2019 21:36:51 +0000 (18:36 -0300)]
testbin: Forward seek to all sources
Aaron Boxer [Wed, 30 Jan 2019 16:11:47 +0000 (11:11 -0500)]
d3dhelpers.c: fix typo in debug output
Seungha Yang [Wed, 30 Jan 2019 10:54:33 +0000 (19:54 +0900)]
meson: Add support orc fallback
Allow fallback to orc subproject if any, and add missing orc version check.
Additionally 'dependencies' keyword is removed from find_library,
because it's invalid keyword for find_library.
Jan Schmidt [Mon, 27 Feb 2017 11:41:47 +0000 (22:41 +1100)]
openh264: Conditionally support the main and high profiles
openh264 added main/high profile support upstream after the 1.8.0
release, so detect a version higher than that and support main/high
stream input
Jan Schmidt [Thu, 3 Jan 2019 15:53:33 +0000 (02:53 +1100)]
openh264: Use DecodeFrameNoDelay() API instead of DecodeFrame2
Replace legacy usage of DecodeFrame2 API in favour of the
recommended DecodeFrameNoDelay()
This fixes problems with DecodeFrame2() not (currently) returning
all frames in main/high streams with B-frames, and reduces latency -
previously openh264 would not return a decoded frame until the next
call to DecodeFrame2(). DecodeFrameNoDelay() returns them immediately.
Jan Schmidt [Wed, 30 Jan 2019 03:46:37 +0000 (14:46 +1100)]
openh264dec: Hook up openh264 messages to GStreamer logging
Use the OpenH264 callback to pass Openh264 internal warning/error
messages through the GStreamer logging framework
Jan Schmidt [Wed, 5 Apr 2017 05:36:06 +0000 (15:36 +1000)]
openh264dec: Handle B frame decoding
Support out-of-order decoding in OpenH264 by tracking
our internal frame reference in the OpenH264 timestamp
field.
Drain any pending frames at EOS.
Jan Schmidt [Wed, 30 Jan 2019 03:38:20 +0000 (14:38 +1100)]
Add OpenH264 version check macro
Jan Schmidt [Fri, 24 Mar 2017 16:37:35 +0000 (03:37 +1100)]
openh264dec: Fix up EOS handling
If the last frame(s) produce errors, then we need to drop them
or else we spin forever failing to decode a frame and thinking
it'll get better if we wait for more data that's never coming.
Nirbheek Chauhan [Sat, 19 Jan 2019 19:53:39 +0000 (01:23 +0530)]
meson: Fix building of the nvdec plugin on Windows
Have to use the Nvidia Video Codec SDK when building with a newer CUDA
toolkit.
VaL Doroshchuk [Tue, 22 Jan 2019 12:52:55 +0000 (13:52 +0100)]
avfvideosrc: add device-name property
This property is readonly and should show the name of selected capture device.
Yeongjin Jeong [Mon, 21 Jan 2019 16:54:24 +0000 (01:54 +0900)]
fdkaacdec: Fix build for fdkaac < 0.1.4
The fdkaac decoder supports 6.1 / 7.1 channels with downmixer
since v0.1.4. Old versions can use AAC_PCM_OUTPUT_CHANNELS
instead of AAC_PCM_MAX_OUTPUT_CHANNELS.
Fixes #873
Haihao Xiang [Mon, 21 Jan 2019 04:25:36 +0000 (12:25 +0800)]
msdkdec: set the mfx picture structure to MFX_PICSTRUCT_PROGRESSIVE if it is unknown
The picture structure in the output parameters from
MFXVideoDECODE_Query is set to MFX_PICSTRUCT_UNKNOWN for some codecs, so
the structure of the corresponding mfx surfaces created for decoding are
unknown. The pipeline will be broken when these surfaces are used as the
input for msdkvpp.
Example pipeline:
gst-launch-1.0 filesrc location=input_vp8.webm ! matroskademux !
msdkvp8dec ! msdkvpp ! fakesink
Error message:
0:00:00.
031568911 14259 0x55b79dc684a0 ERROR msdkvpp
gstmsdkvpp.c:728:gst_msdkvpp_transform:<msdkvpp0> MSDK Failed to do VPP
ERROR: from element
/GstPipeline:pipeline0/GstMatroskaDemux:matroskademux0: Internal data
stream error.
This is a workaround for the above issue
Nicola Murino [Thu, 24 Jan 2019 21:51:39 +0000 (22:51 +0100)]
mpegpsmux: add stream-format and alignment to H.264 caps
Haihao Xiang [Wed, 16 Jan 2019 02:44:21 +0000 (10:44 +0800)]
msdkh265enc: enable low power mode
Low power mode is disabled by default, set the value of low-power to
true to enable this mode.
Nicola Murino [Thu, 24 Jan 2019 09:32:46 +0000 (10:32 +0100)]
mpegdemux: add support for H.265
Nicola Murino [Thu, 24 Jan 2019 09:32:14 +0000 (10:32 +0100)]
mpegdemux: add stream format to H.264 caps
Víctor Manuel Jáquez Leal [Mon, 21 Jan 2019 17:18:46 +0000 (18:18 +0100)]
msdk: bufferpool: refactor memory type decision
The memory type was used as bitwise enum, but the enum was not
defined in that way.
Nonetheless, most of the usage of the memory type was as mutually
exclusive options, rather than option composition.
This patch refactor how the memory type is defined, so it is kept
the mutual exclusion among options.
Víctor Manuel Jáquez Leal [Mon, 21 Jan 2019 11:46:32 +0000 (12:46 +0100)]
msdk: fix some comments typos
Víctor Manuel Jáquez Leal [Mon, 21 Jan 2019 15:43:11 +0000 (16:43 +0100)]
msdk: decoder: fatal failure if negotiations fails
Otherwise it crashes when no parser is used placed upstream, v.gr.
gst-launch-1.0 filesrc location=file.264 ! msdkh264dec ! fakesink
Víctor Manuel Jáquez Leal [Mon, 21 Jan 2019 15:11:59 +0000 (16:11 +0100)]
msdk: decoder: comment to explain array reset
Víctor Manuel Jáquez Leal [Mon, 21 Jan 2019 14:53:23 +0000 (15:53 +0100)]
msdk: decoder: fix an usage-after-free pointer bug
Mathieu Duponchelle [Thu, 17 Jan 2019 14:06:06 +0000 (15:06 +0100)]
webrtc: expose ice-transport-policy property
This is the equivalent of iceTransportPolicy in the RTCConfiguration
dictionary.
Only two values are implemented:
* all: default behaviour
* relay: only gather relay candidates
The third member of the iceTransportPolicy enum, "public", is
obsolete.
Olivier Crête [Tue, 22 Jan 2019 19:34:23 +0000 (14:34 -0500)]
srt: Accepts URIs without host to go into listener mode
Just setting a URI without a hostname should directly go into listener mode.
Olivier Crête [Tue, 22 Jan 2019 19:33:32 +0000 (14:33 -0500)]
srt: Fix GClosure usage
One needs to set a marshaller as well as use the object setter when
setting objects.
Tim-Philipp Müller [Tue, 22 Jan 2019 12:52:25 +0000 (12:52 +0000)]
meson: detect opengl api from -base .pc files correctly
There was a mismatch between the .pc files generated by
autotools and by meson that would lead to meson not detecting
that opengl api is available even though it is. This could
lead to build failures when building -bad with meson against
a -base that was built with autotools. The mismatch has now
been rectified but we will still check the old one for backwards
compatibility.
Tim-Philipp Müller [Tue, 22 Jan 2019 12:41:00 +0000 (12:41 +0000)]
meson: remove some cruft
Philippe Normand [Fri, 18 Jan 2019 13:28:26 +0000 (13:28 +0000)]
wpesrc: Plug WPE's exportable leak
Philippe Normand [Mon, 21 Jan 2019 10:57:57 +0000 (10:57 +0000)]
wpe: Add autotools build support
Justin Kim [Tue, 22 Jan 2019 04:02:30 +0000 (13:02 +0900)]
srt: Use default host and port if uri doesn't provide
Justin Kim [Tue, 22 Jan 2019 03:44:07 +0000 (12:44 +0900)]
srt: Enable logs for srtobject
Justin Kim [Tue, 22 Jan 2019 03:42:47 +0000 (12:42 +0900)]
srt: Fix property names
Property name and its enum should match.
Justin Kim [Tue, 22 Jan 2019 02:35:03 +0000 (11:35 +0900)]
srt: Fix a regression crash
Even in case that srt is working as a caller mode, uri can have no
hostname or ip address.
fix: #874