summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Release 1.14.51.14.51.14Tim-Philipp Müller2019-05-297-21/+887
|
* Update docsTim-Philipp Müller2019-05-29135-130/+509
|
* fdkaacenc: Fix draining with libfdk-aac v2.0.0Jan Alexander Steffens (heftig)2019-05-161-8/+13
| | | | | This release requires all buffer descriptor pointers to be valid, even when we provide zero input buffers.
* h264parse: Fix typo when setting multiview mode and flagsXavier Claessens2019-05-031-1/+1
|
* msdk: needn't call MFXJoinSession after MFXCloneSessionHaihao Xiang2019-05-021-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
* msdk: check whether mfx function call failsHaihao Xiang2019-05-022-3/+18
| | | | And log the failures for debugging
* msdk: change the wait time for encoder and vppHaihao Xiang2019-05-021-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
* msdkenc: return NULL instead of FALSEHaihao Xiang2019-05-021-4/+4
| | | | The returned type is a pointer
* msdk: release resources if failing to create the buffer poolHaihao Xiang2019-05-022-0/+6
| | | | | Needn't check the pointers against NULL because the pointers are non-NULL
* msdkenc: break out of flush frames loop on errorU. Artie Eoff2019-05-021-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
* fdkaacenc: Remove MODE_2_1Jan Alexander Steffens (heftig)2019-05-021-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
* fdkaacdec: Use WAV channel mapping instead of interleave settingJan Alexander Steffens (heftig)2019-05-021-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
* msdk: add missing breaksXiang, Haihao2019-05-022-0/+2
|
* Fixed segtotal value being always 2 due to an unused variableMarcos Kintschner2019-05-022-3/+1
| | | | The 'MAX' expression used to set segtotal always returned 2 because the unused and unitialized variable buffer_frame_count was always 0
* assrender: fix seeking backwardsTim-Philipp Müller2019-05-021-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
* nvenc: Don't leak CUDA device memorySeungha Yang2019-05-021-0/+6
| | | | Allocated device memory should be freed with cuMemFree
* nvenc: Ensure unmap resources before finalizing themSeungha Yang2019-05-021-0/+22
| | | | | Mapped resource via NvEncMapInputResource() will result to unregister fail. It can happen when paused to ready state change without EOS event.
* h265parse: ignore VUI parse fail when parse SPSHaihua Hu2019-05-021-2/+8
| | | | | VUI is an optional for SPS parse, some HEVC file has incorrect VUI parameters but still can be decoded
* nvenc: Don't release stream lock on GstVideoEncoder::stop()Seungha Yang2019-05-021-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
* mxfdemux: Avoid possible NULL caps 'dereferencing'Thibault Saunier2019-05-021-2/+4
|
* rtmpsrc: fix buffer leak on read error or EOSIlya Smelykh2019-05-021-0/+2
|
* netsim: don't use G_INLINE_FUNCTim-Philipp Müller2019-05-021-2/+2
| | | | It's deprecated. Just use 'inline'.
* mssdemux: fix protection data double freeXabier Rodriguez Calvar2019-05-021-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.
* nvenc: More clean up on stop for encoder to be reusableSeungha Yang2019-05-021-0/+5
| | | | | | Encoder will not configure internal pool again if input_state exist Fixes https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/912
* nvenc: Ensure drain all frames on finishSeungha Yang2019-05-021-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.
* nvenc: Fix GValue leaksYeongjin Jeong2019-05-022-12/+24
| | | | GValue should be freed with g_value_unset()
* teletextdec: fix some string leaksTim-Philipp Müller2019-05-021-0/+4
|
* waylandsink: Don't create throwaway empty regionsDaniel Stone2019-05-021-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
* dtls: Don't abort on non-fatal issuesEdward Hervey2019-05-021-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
* tsdemux: Skew correction should use the upstream DTSJan Schmidt2019-05-021-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.
* openh264dec: Fix up EOS handlingJan Schmidt2019-05-021-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.
* mpegpsmux: add stream-format and alignment to H.264 capsNicola Murino2019-05-021-1/+2
|
* mpegdemux: add stream format to H.264 capsNicola Murino2019-05-021-1/+2
|
* wasapi: Fixed corner-cases in mapping of channel maskJacek Tomaszewski2019-05-021-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>
* wasapi: Fix infinite loop when the device disappearsNirbheek Chauhan2019-05-023-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.
* mpegtsmux: Handle zero-sized buffers correctly without going into an ↵Sebastian Dröge2019-05-021-1/+1
| | | | | | infinite loop Fixes https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/844
* kmssink: Avoiding get_property to take ownership of object membersNaveen Cherukuri2019-05-021-2/+2
| | | | Double free will happen if application frees string retuned by _get_property
* hlssink2: Fix string leakSeungha Yang2019-05-021-0/+1
| | | | Need to free allocated string memory on _finalize()
* siren: Fix floating point invalid operationLars Petter Endresen2019-05-021-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.
* dshowvideosrc: fix template caps to reflect actual supported capsJoshua M. Doe2019-05-021-8/+3
|
* ksvideosrc: initialize pointer to satisfy MSVCJoshua M. Doe2019-05-021-1/+1
|
* ksvideosrc: support 'Y16 ' FOURCC as GRAY16_LEJoshua M. Doe2019-05-021-4/+10
| | | | The FLIR Boson USB provides 16-bit grayscale video using this FOURCC.
* decklinkvideosink: fix segfault when audiosink is closed before videosinkBrad Reitmeyer2019-05-021-1/+1
|
* decklinkvideosrc: respect pixel format property even if mode is set to autoJoshua M. Doe2019-05-022-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
* meson: fix opengl build against -base built with autotoolsTim-Philipp Müller2019-01-222-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
* mpegts: Register a number of new boxed types to support auto generation of ↵Russel Winder2018-11-084-30/+331
| | | | bindings.
* h265parser: Fix wrong maximum range check in gst_h265_parse_vps()Seungha Yang2018-11-071-4/+11
| | | | | | Fix validation of some syntax. Fixes #798
* dtls: Link against winsock2 on WindowsJan Alexander Steffens (heftig)2018-11-072-2/+2
| | | | | Should fix the Windows build after b1509b1047bb76c9b2d8b14e9cecd0da72fd8e65.
* dtlsconnection: Print out errno info for syscall errorsJan Alexander Steffens (heftig)2018-11-071-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
* dtls: Properly display all errors/warnings from ERR queueAndreas Frisch2018-11-072-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.