summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2019-05-29Release 1.14.51.14.51.14Tim-Philipp Müller7-21/+887
2019-05-29Update docsTim-Philipp Müller135-130/+509
2019-05-16fdkaacenc: Fix draining with libfdk-aac v2.0.0Jan Alexander Steffens (heftig)1-8/+13
This release requires all buffer descriptor pointers to be valid, even when we provide zero input buffers.
2019-05-03h264parse: Fix typo when setting multiview mode and flagsXavier Claessens1-1/+1
2019-05-02msdk: needn't call MFXJoinSession after MFXCloneSessionHaihao Xiang1-6/+0
According to the MSDK documation[1], MFXCloneSession is a light-weight equivalent of MFXJoinSession after MFXInit, so MFXJoinSession call isn't needed in the msdk plugin, otherwise the cloned session is joined to the parent session twice, and we will get a MFX error when closing the parent session example pipeline: gst-launch-1.0 videotestsrc num-buffers=100 ! \ video/x-raw,format=NV12,width=352,height=288 ! msdkh264enc ! msdkh264dec ! \ msdkh264enc ! fakesink Error message: 0:00:00.211948518 21733 0x5586ee741c60 ERROR msdk msdk.c:148:msdk_close_session: Close failed (undefined behavior) [1]: https://software.intel.com/en-us/node/628429#MFXCloneSession
2019-05-02msdk: check whether mfx function call failsHaihao Xiang2-3/+18
And log the failures for debugging
2019-05-02msdk: change the wait time for encoder and vppHaihao Xiang1-2/+5
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
2019-05-02msdkenc: return NULL instead of FALSEHaihao Xiang1-4/+4
The returned type is a pointer
2019-05-02msdk: release resources if failing to create the buffer poolHaihao Xiang2-0/+6
Needn't check the pointers against NULL because the pointers are non-NULL
2019-05-02msdkenc: break out of flush frames loop on errorU. Artie Eoff1-0/+1
In general, we should assume any unhandled error is non-recoverable. In the flush frames loop, some error states can cause us to never increment the task and therefore we get stuck in an infinite loop and generate GST_ELEMENT_ERROR over and over again. This eventually consumes all system memory and triggers OOM. Thus, assume the worst and break out of the loop upon the first "unhandled" error. https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/859
2019-05-02fdkaacenc: Remove MODE_2_1Jan Alexander Steffens (heftig)1-4/+0
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
2019-05-02fdkaacdec: Use WAV channel mapping instead of interleave settingJan Alexander Steffens (heftig)1-8/+4
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
2019-05-02msdk: add missing breaksXiang, Haihao2-0/+2
2019-05-02Fixed segtotal value being always 2 due to an unused variableMarcos Kintschner2-3/+1
The 'MAX' expression used to set segtotal always returned 2 because the unused and unitialized variable buffer_frame_count was always 0
2019-05-02assrender: fix seeking backwardsTim-Philipp Müller1-12/+5
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
2019-05-02nvenc: Don't leak CUDA device memorySeungha Yang1-0/+6
Allocated device memory should be freed with cuMemFree
2019-05-02nvenc: Ensure unmap resources before finalizing themSeungha Yang1-0/+22
Mapped resource via NvEncMapInputResource() will result to unregister fail. It can happen when paused to ready state change without EOS event.
2019-05-02h265parse: ignore VUI parse fail when parse SPSHaihua Hu1-2/+8
VUI is an optional for SPS parse, some HEVC file has incorrect VUI parameters but still can be decoded
2019-05-02nvenc: Don't release stream lock on GstVideoEncoder::stop()Seungha Yang1-3/+8
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-05-02mxfdemux: Avoid possible NULL caps 'dereferencing'Thibault Saunier1-2/+4
2019-05-02rtmpsrc: fix buffer leak on read error or EOSIlya Smelykh1-0/+2
2019-05-02netsim: don't use G_INLINE_FUNCTim-Philipp Müller1-2/+2
It's deprecated. Just use 'inline'.
2019-05-02mssdemux: fix protection data double freeXabier Rodriguez Calvar1-1/+1
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-05-02nvenc: More clean up on stop for encoder to be reusableSeungha Yang1-0/+5
Encoder will not configure internal pool again if input_state exist Fixes https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/912
2019-05-02nvenc: Ensure drain all frames on finishSeungha Yang1-18/+20
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-05-02nvenc: Fix GValue leaksYeongjin Jeong2-12/+24
GValue should be freed with g_value_unset()
2019-05-02teletextdec: fix some string leaksTim-Philipp Müller1-0/+4
2019-05-02waylandsink: Don't create throwaway empty regionsDaniel Stone1-8/+2
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
2019-05-02dtls: Don't abort on non-fatal issuesEdward Hervey1-3/+6
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
2019-05-02tsdemux: Skew correction should use the upstream DTSJan Schmidt1-3/+6
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.
2019-05-02openh264dec: Fix up EOS handlingJan Schmidt1-4/+17
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.
2019-05-02mpegpsmux: add stream-format and alignment to H.264 capsNicola Murino1-1/+2
2019-05-02mpegdemux: add stream format to H.264 capsNicola Murino1-1/+2
2019-05-02wasapi: Fixed corner-cases in mapping of channel maskJacek Tomaszewski1-6/+15
'channel-mask' field should not be put in caps if channel mask is 0x0 Mapping WASAPI channel mask to GST equivalent was going only over first nChannels elements of wasapi_to_gst_pos array, translating, for example, WASAPI's 0x63f to GST's 0x3f instead of 0xc3f. When 'channel-mask' is specified as NULL, it signifies that there's need to do downmix or upmix and it makes caps negotiation with audioconvert element impossible. Just omit it. Signed-off-by: Nirbheek Chauhan <nirbheek@centricular.com>
2019-05-02wasapi: Fix infinite loop when the device disappearsNirbheek Chauhan3-27/+67
When the audio device goes away during playback or capture, we were going into an infinite loop of AUDCLNT_E_DEVICE_INVALIDATED. Return -1 and post an error message so the ringbuffer thread exits with an error.
2019-05-02mpegtsmux: Handle zero-sized buffers correctly without going into an ↵Sebastian Dröge1-1/+1
infinite loop Fixes https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/844
2019-05-02kmssink: Avoiding get_property to take ownership of object membersNaveen Cherukuri1-2/+2
Double free will happen if application frees string retuned by _get_property
2019-05-02hlssink2: Fix string leakSeungha Yang1-0/+1
Need to free allocated string memory on _finalize()
2019-05-02siren: Fix floating point invalid operationLars Petter Endresen1-4/+4
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.
2019-05-02dshowvideosrc: fix template caps to reflect actual supported capsJoshua M. Doe1-8/+3
2019-05-02ksvideosrc: initialize pointer to satisfy MSVCJoshua M. Doe1-1/+1
2019-05-02ksvideosrc: support 'Y16 ' FOURCC as GRAY16_LEJoshua M. Doe1-4/+10
The FLIR Boson USB provides 16-bit grayscale video using this FOURCC.
2019-05-02decklinkvideosink: fix segfault when audiosink is closed before videosinkBrad Reitmeyer1-1/+1
2019-05-02decklinkvideosrc: respect pixel format property even if mode is set to autoJoshua M. Doe2-2/+9
Before this patch, if mode=auto and video-format!=auto, video-format would always be ignored, and get set to 8bit-yuv, or if detected to be RGB444, then it would be set to 8bit-argb. This change respects video-format if it is set to 10bit-yuv (v210) or 8bit-bgra, even when mode=auto. Closes #772
2019-01-22meson: fix opengl build against -base built with autotoolsTim-Philipp Müller2-2/+6
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. Fixes https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/871
2018-11-08mpegts: Register a number of new boxed types to support auto generation of ↵Russel Winder4-30/+331
bindings.
2018-11-07h265parser: Fix wrong maximum range check in gst_h265_parse_vps()Seungha Yang1-4/+11
Fix validation of some syntax. Fixes #798
2018-11-07dtls: Link against winsock2 on WindowsJan Alexander Steffens (heftig)2-2/+2
Should fix the Windows build after b1509b1047bb76c9b2d8b14e9cecd0da72fd8e65.
2018-11-07dtlsconnection: Print out errno info for syscall errorsJan Alexander Steffens (heftig)1-1/+18
As suggested in [the SSL_get_error manpage][1]. Upgrade the message to a warning if the errno isn't 0 (success). The latter apparently means the transport encountered an EOF (shutdown) without the shut down handshake on the (D)TLS level. This happens quite often for otherwise normal DTLS connections. [1]: https://www.openssl.org/docs/man1.1.1/man3/SSL_get_error.html
2018-11-07dtls: Properly display all errors/warnings from ERR queueAndreas Frisch2-9/+32
Print out all errors from the OpenSSL error queue instead of just looking at the topmost error. Using the callback interface also removes the need for formatting using a buffer on the stack.