summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Release 1.17.11.17.1Tim-Philipp Müller2020-06-196-1361/+17170
|
* srt: add "empty" subclasses for deprecated srt{client,server}{src,sink}Tim-Philipp Müller2020-06-192-4/+82
| | | | | | | | | The doc system gets confused when we register the exact same class as multiple elements, so make a subclass for each. Also wrap registration of deprecated elements with #ifndef GST_REMOVE_DEPRECATED. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1354>
* x265: ignore tune property when diffing generated docsTim-Philipp Müller2020-06-192-1/+3
| | | | | | | | | | Unfortunately it means those tune enums don't show up in the docs then, but if that's how it's gotta be.. (Problem at hand is that on Tim's machine x265enc gets an tune=animation and on the CI machine this doesn't show up.) Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1354>
* docs: update plugins cacheTim-Philipp Müller2020-06-191-0/+2236
| | | | | | Add some more plugins, update for new markers. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1354>
* Mark more plugin GTypes as plugin APITim-Philipp Müller2020-06-192-1/+5
| | | | | | To appease the CI gods. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1354>
* gst-project-maker: use $0 for the program name in usage and help textAntonio Ospite2020-06-171-3/+3
| | | | Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/184>
* gst-project-maker: set up a meson project instead of an autotools oneAntonio Ospite2020-06-171-135/+101
| | | | | | | | | | | | | | | | | | Now that autotools has been removed generate a meson project template in gst-project-maker. There are some differences with the autotools project 1. gstreamer-controller-1.0 is not added to the default dependencies. 2. The '-Wall' option is not set explicitly, meson can handle that. 3. The flags in GST_PLUGIN_LDFLAGS have not been ported to meson as they are not necessary anymore. The generated project requires meson 0.53.0 for the 'fs' module. It's up to the user to remove that part in case compatibility with older versions of meson is desired. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/184>
* gst-project-maker: fix comment referring to plug-in instead of programAntonio Ospite2020-06-171-1/+1
| | | | | | | Fix the comment in $basedir/tools/Makefile.am which wrongly refers to plug-in while the file in tool/ is about the executable program. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/184>
* gst-app-maker: fix program name and arguments in usage text and help textAntonio Ospite2020-06-171-3/+3
| | | | Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/184>
* mfvideosrc: Add support for jpeg on Win32 applicationSeungha Yang2020-06-175-27/+134
| | | | | | | | Enable reading jpeg data from webcam if it's supported. Note that this would be enabled only for Win32. For UWP, we need to research more about how to support jpeg. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1342>
* mfvideosrc: Fix wrong castingSeungha Yang2020-06-171-1/+2
| | | | | | Don't cast ISoftwareBitmap to IMFMediaBuffer Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1342>
* mfvideosrc: Add support YUY2 format for UWPSeungha Yang2020-06-171-0/+3
| | | | Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1342>
* mediafoundation: Drop IMFCaptureEngine implementationSeungha Yang2020-06-175-912/+3
| | | | | | | | | It was introduced for later use of its enhanced feature over IMFSourceReader such as taking photo with video preview, audio/video capturing at the same time, etc. But currently it's not our use case, and it would be maintenance burden. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1342>
* mssdemux: ignore unrecognized streamHosang Lee2020-06-171-0/+8
| | | | | | | Only create pads for steams with caps that can be recognized from the fourcc. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1348>
* dvbsubenc: Add DVB Subtitle encoderJan Schmidt2020-06-1724-1/+6234
| | | | | | | | | | | | | | | | | | | | Add an element that converts AYUV video frames to a DVB subpicture stream. It's fairly simple for now. Later it would be good to support input via a stream that contains only GstVideoOverlayComposition meta. The element searches each input video frame for the largest sub-region containing non-transparent pixels and encodes that as a single DVB subpicture region. It can also do palette reduction of the input frames using code taken from libimagequant. There are various FIXME for potential improvements for now, but it works. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1227>
* d3d11: Don't assume response of context query has valid d3d11 device contextSeungha Yang2020-06-161-7/+11
| | | | | | | Peer elements should return FALSE if d3d11 device context is unavailable but it might happen for some reason (e.g., wrong implementation or so) Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1347>
* d3d11decoder: Disable zero-copy for blacklisted deviceSeungha Yang2020-06-166-1/+26
| | | | | | Should enable it for verified devices. For now, Xbox is blacklisted Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1339>
* d3d11decoder: Adjust alignment constraint for Xbox deviceSeungha Yang2020-06-161-1/+5
| | | | | | XBox doesn't seem to support 128 bytes alignment for 4K HEVC Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1339>
* d3d11window: Do not configure video processor for Xbox deviceSeungha Yang2020-06-161-5/+11
| | | | | | Disable video processor for Xbox until it's verified Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1339>
* d3d11utils: Add a helper method for checking Xbox deviceSeungha Yang2020-06-162-0/+23
| | | | | | Required for some cases to work around device specific issue Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1339>
* d3d11videosink: Use GPU memory copy if possibleSeungha Yang2020-06-161-2/+51
| | | | | | | | Even if fallback buffer is required (e.g., shader resource view is unavailable), use direct GPU memory copy if possible. It must be much faster than system memory copy approach. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1339>
* d3d11videosink: Ensure shader resource view of fallback bufferSeungha Yang2020-06-161-0/+14
| | | | | | SRV must be configured for color conversion Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1339>
* d3d11window: Fix typo "configureed"Seungha Yang2020-06-161-3/+3
| | | | Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1339>
* winscreencap: Add dxgiscreencapsrc element.Jun-ichi OKADA2020-06-166-4/+2033
| | | | | | | | | | | | This element uses the Desktop Duplication API to capture the desktop screen at high speed. It supports Windows 8 or later. It has the following features compared to other elements: * Runs faster. * It works in High DPI environment. * Draws an accurate mouse cursor. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/863>
* msdkdec: hold a reference for the surfaces locked by msdkXu Guangxin2020-06-153-89/+116
| | | | | | | | | | | | | | | previous code releases GstBuffer too earlier. so we will see ERROR default gstmsdkvideomemory.c:77:gst_msdk_video_allocator_get_surface: failed to get surface available ERROR msdkbufferpool gstmsdkbufferpool.c:270:gst_msdk_buffer_pool_alloc_buffer:<msdkbufferpool0> failed to create new MSDK memory We need to hold GstBuffer reference for msdk if the surfaced locked by msdk. step to reproduce. 1. ffmpeg -f lavfi -i testsrc=duration=10:size=320x240:rate=30 -pix_fmt yuv420p -c:v libx265 test.265 2. GST_GL_PLATFORM=egl gst-launch-1.0 -v filesrc location=test.265 ! h265parse ! msdkh265dec ! queue ! glimagesink Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1277>
* vulkan/shaders: add explicit license headersMatthew Waters2020-06-1218-0/+342
| | | | Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1338>
* vulkan/shaders: manually indent bin2arrayMatthew Waters2020-06-121-7/+36
| | | | | | Looks much nicer with some semblance of code formatting Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1338>
* codecs: h265picture: Don't leak pic_list GArraySeungha Yang2020-06-111-0/+1
| | | | | | Equivalent to the commit 7b8c071f9c4a675f6b53e373c346d9e1f866f818 Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1337>
* yadif: remove plugin, there's now deinterlace method=yadifTim-Philipp Müller2020-06-119-1080/+1
| | | | | | | | | | | | | | Plugin code was still the GPL version, and the functionality has now been moved into the deinterlace element in gst-plugins-good as method=yadif (and LGPL). See https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/444 and https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/621 Closes https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/issues/216 Fixes https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/issues/463 Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1336>
* wasapi2: Fallback to IAudioClient interface if IAudioClient3 API is unavailableSeungha Yang2020-06-111-5/+24
| | | | | | | When default device is selected, IAudioClient3 API doesn't look like available. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1332>
* interlace: Fix crash with empty caps in setcapsVivia Nikolaidou2020-06-111-1/+7
| | | | | | | | | If the src_peer_caps are EMPTY (e.g. negotiation failed somewhere), the assertion inside gst_video_info_from_caps would fail and the whole pipeline would crash. Check for gst_caps_is_empty before gst_video_info_from_caps and gracefully fail if it's empty. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1333>
* wasapi: Fix possible deadlock while downwards state changeSeungha Yang2020-06-114-6/+61
| | | | | | | IAudioClient::Stop() doesn't seem to wake up the event handle, then read() or write() could be blocked forever by WaitForSingleObject. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1329>
* docs: Update plugins cacheThibault Saunier2020-06-101-12089/+12089
|
* waylandsink: add wl_registry.global_remove listenerHaihua Hu2020-06-091-1/+9
| | | | | | | | when hotplug display, wayland client will call this listener to notify client do clean up. Temporarily set a dummy function here to avoid app abort Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1327>
* srt: doc: Add missing gst_type_mark_as_plugin_apiThibault Saunier2020-06-092-1/+59
|
* docs: Mark lv2 runtime generated enums as plugins API typesThibault Saunier2020-06-092-1/+51323
|
* docs: Add some more plugin API typesThibault Saunier2020-06-094-2/+148
| | | | | And allow creating vulkan device object without specifying an instance so it can be introspected.
* docs: Update plugins cacheThibault Saunier2020-06-092-32/+147459
|
* v4l2slh264dec: Fix reading mode and start code typeNicolas Dufresne2020-06-091-4/+3
| | | | | | | | | | These two controls are not pointer based, so we don't need to pass any size or pointer and need to copy the values afterward. This fixes H264 decoding regression with Hantro and RKVDEC drivers. Fixes 037730a787c6cdeeee5779c1834315c1ca764505 Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1330>
* mftransform: Fix deadlock when MFT requests processing output twiceSeungha Yang2020-06-081-0/+10
| | | | | | | | | | | | | | This sequence of event/data flow might happen 1) Initially we have one pending output event 1-1) Then, process the pending output data 2) No pending input event, then we should wait new pending input event 2-1) Wakeup by new pending event (but it's pending output event) In above case, MFT will not report new pending input event if pending output is not processed. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1325>
* mftransform: Add some debug logSeungha Yang2020-06-081-0/+15
| | | | | | Add some trace level log for debugging Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1325>
* adaptivedemux: Handle live duration queriesEdward Hervey2020-06-081-0/+7
| | | | | | | | | Handle it the same way live sources would, that it by handling the query and return an unknown duration. Fixes #566 Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1279>
* tests: wasapi2: Add unit test for reusing wasapisrcSeungha Yang2020-06-082-0/+180
| | | | | | Test state change between playing and null and playing again Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1264>
* wasapi2: Add device provider implementationSeungha Yang2020-06-084-0/+287
| | | | | | | | | | | Similar to device provider implementation of wasapi plugin, this implementation supports only static probing. But we can implement runtime device add/remove/update monitoring using DeviceWatcher interface later. See https://docs.microsoft.com/en-us/uwp/api/windows.devices.enumeration.devicewatcher Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1264>
* wasapi2: Introduce new WASAPI pluginSeungha Yang2020-06-0813-0/+3595
| | | | | | | | | | | | | | | | | | | | | | Add a new wasapi implementation mainly to support UWP application. Basically the core logic of this plugin is almost identical to existing wasapi plugin, but main target is Windows 10 (+ UWP). Since this plugin uses WinRT APIs, this plugin most likely might not work Windows 8 or lower. Compared with existing wasapi plugin, additional features of this plugin are * Fully compatible with both Windows 10 desktop and UWP application * Supports automatic stream routing (auto fallback when device was removed) * Support device level mute/volume control But some features of existing wasapi plugin are not implemented in this plugin yet * Exclusive streaming mode is not supported * Loopback feature is not implemented * Cross-compile is not possible with current mingw toolchain (meaning that MSVC and Windows 10 SDK are required to build this plugin) Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1264>
* mfvideoenc: Set PAR to output IMFMediaTypeSeungha Yang2020-06-061-0/+8
| | | | | | | | | We've set it to input IMFMediaType but not for output. So, if PAR is not 1:1, the input IMFMediaType will be accepted by MFT (default is 1:1). The PAR of input/output IMFMediaType must be identical Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1322>
* mftransform: Don't try to drain if MFT is not runningSeungha Yang2020-06-061-1/+1
| | | | | | | Otherwise MFT will be blocked forever as no event can be generated by IMFMediaEventGenerator. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1322>
* plugins: uddate gst_type_mark_as_plugin_api() callsMathieu Duponchelle2020-06-0654-102/+104
|
* d3d11overlaycompositor: Fix wrong Y position calculationSeungha Yang2020-06-051-6/+20
| | | | | | The Y coordinate of vertex and screen/image are opposite Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1319>
* curlsmtpsink: Use correct email date formatcketti2020-06-051-1/+1
| | | | | | See https://www.rfc-editor.org/rfc/rfc5322.html#section-3.3 Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1317>