summaryrefslogtreecommitdiff
path: root/sys/d3dvideosink
Commit message (Collapse)AuthorAgeFilesLines
* d3dvideosink: Use secondary rankSeungha Yang2020-06-031-1/+1
| | | | | | d3dvideosink will be replaced by d3d11videosink Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1311>
* d3dvideosink: hold class lock for entire duration of class destructionAaron Boxer2019-12-181-0/+3
| | | | | This avoids a race condition currently when temporarily releasing the lock and then re-acquiring.
* d3dvideosink: improve concurrency on hidden window create/destroyAaron Boxer2019-12-182-42/+42
|
* d3dvideosink: use thread pool to handle events from hidden window event queueAaron Boxer2019-12-182-10/+59
| | | | | | window event queue now does not lock on the class lock, so we can now shut it down without releasing the class lock, thus avoiding a potential race when stopping the sink.
* d3dvideosink: improve concurrency on internal window create/destroyAaron Boxer2019-12-181-18/+12
| | | | | Remove timeout and rely on condition variable instead to indicate thread start.
* d3dvideosink: only warn about HWND already set if new HWND is not NULLAaron Boxer2019-12-181-2/+3
|
* d3dvideosink: add more null checksAaron Boxer2019-12-181-2/+18
|
* d3dvideosink: check ref count and device before resetting displayAaron Boxer2019-12-181-2/+4
|
* d3dvideosink: use class lock when checking d3d formats, and cache format listAaron Boxer2019-12-182-35/+44
|
* d3dvideosink: destroy device just before final d3d release callAaron Boxer2019-12-182-2/+2
| | | | and free overlays after swap chain is released
* d3dvideosink: add two forward declarationsAaron Boxer2019-12-181-0/+3
|
* d3dvideosink: use class lock when setting pool configAaron Boxer2019-12-181-0/+8
|
* d3dvideosink: use class lock when allocating pool bufferAaron Boxer2019-12-181-0/+12
|
* d3dvideosink: use class lock when creating overlay texturesAaron Boxer2019-12-181-54/+77
|
* d3dvideosinnk: check d3d device exists before creating overlay vertex bufferAaron Boxer2019-12-181-0/+9
|
* d3dvideosink: pass hidden window hwnd to GST_DEBUG, rather than NULLAaron Boxer2019-12-181-1/+1
|
* d3dvideosink: fix typoAaron Boxer2019-12-181-1/+1
|
* d3dvideosink: Fix warning for unhandled enum in switchSeungha Yang2019-12-051-0/+2
| | | | d3dhelpers.c:135:3: warning: enumeration value 'D3DFMT_D32_LOCKABLE' not handled in switch [-Wswitch]
* d3dvideosink: use parent buffer pool to release buffersAaron Boxer2019-12-041-20/+0
| | | | | | In certain cases, the sink's buffer pool will not call the parent's release_buffer method, so the pool does not clean up properly after the buffer is released.
* d3dvideosink: use sink dimensions when calculating overlay scalingAaron Boxer2019-11-181-3/+5
|
* d3dvideosink: use explicit system memory feature in overlay composition capsAaron Boxer2019-11-181-2/+2
|
* d3dvideosink: support OverlayComposition for GPU overlay compositingAaron Boxer2019-11-066-21/+631
|
* documentation: fixed a heap o' typosAaron Boxer2019-11-052-2/+2
|
* Remove autotools build systemTim-Philipp Müller2019-10-141-11/+0
|
* d3dvideosink: Fix crash on WinProc handlerSeungha Yang2019-08-151-0/+5
| | | | | ... caused by null pointer dereference. The d3dvideosink object might not available yet on the handler.
* docs: Build documentation with hotdocThibault Saunier2019-05-131-0/+1
|
* d3dhelpers.c: fix typo in debug outputAaron Boxer2019-01-301-2/+1
|
* d3dvideosink: Remove unused variableNirbheek Chauhan2018-11-131-1/+0
| | | | Fixes a compiler warning.
* d3dvideosink: Fix calculating buffer size of packed formatSeungha Yang2018-11-061-13/+1
| | | | | The Pitch (i.e., stride) of D3DLOCKED_RECT structure is already respecting required stride value.
* d3dvideosink: Set actual buffer size to buffer poolSeungha Yang2018-11-061-70/+122
| | | | | | | If configured size of buffer pool and actual buffer size are mismatched, pool will do unwanted buffer resize. Fixes #801
* d3dvideosink: Use lock/cond to wait internal window constructionSeungha Yang2018-11-061-9/+32
| | | | We can save one (or possibly more) sleep time by using lock/cond
* d3dvideosink: Don't leak GThread objectSeungha Yang2018-11-062-0/+9
| | | | Need to call g_thread_join() to avoid leak
* d3dvideosink: Print lock/unlock log with trace debug levelSeungha Yang2018-11-061-11/+18
|
* d3dvideosink: Remove white spaceSeungha Yang2018-11-061-1/+1
|
* Add feature options for almost all pluginsNirbheek Chauhan2018-07-271-3/+12
| | | | | | | The only plugins remaining are those that haven't been ported to Meson yet, and msdk. Also, the tests are still automagic. https://bugzilla.gnome.org/show_bug.cgi?id=795107
* Meson: Generate pc file for all plugins in badXavier Claessens2018-04-251-0/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=794568
* Request minimum buffer even if need_pool is FALSENicolas Dufresne2017-09-061-10/+10
| | | | | | | When tee is used, it will not request a pool, but still it wants to know how many buffers are required. https://bugzilla.gnome.org/show_bug.cgi?id=730758
* d3dsinkwrapper: Make the DLL name match the plugin nameNicolas Dufresne2017-07-203-8/+8
| | | | | | Otherwise, since 1.12, the plugin gets blacklisted. https://bugzilla.gnome.org/show_bug.cgi?id=785168
* gst: Clear floating flag in constructor of all GstObject subclasses that are ↵Sebastian Dröge2017-05-171-1/+4
| | | | | | not owned by any parent https://bugzilla.gnome.org/show_bug.cgi?id=743062
* Remove plugin specific static build optionNicolas Dufresne2017-05-161-1/+0
| | | | | Static and dynamic plugins now have the same interface. The standard --enable-static/--enable-shared toggle are sufficient.
* docs: Port all docstring to gtk-doc markdownThibault Saunier2017-04-122-15/+15
|
* Remove 'return' from `void` functionsScott D Phillips2016-11-121-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=774293
* Add support for Meson as alternative/parallel build systemNirbheek Chauhan2016-08-201-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | https://github.com/mesonbuild/meson With contributions from: Tim-Philipp Müller <tim@centricular.com> Matej Knopp <matej.knopp@gmail.com> Jussi Pakkanen <jpakkane@gmail.com> (original port) Highlights of the features provided are: * Faster builds on Linux (~40-50% faster) * The ability to build with MSVC on Windows * Generate Visual Studio project files * Generate XCode project files * Much faster builds on Windows (on-par with Linux) * Seriously fast configure and building on embedded ... and many more. For more details see: http://blog.nirbheek.in/2016/05/gstreamer-and-meson-new-hope.html http://blog.nirbheek.in/2016/07/building-and-developing-gstreamer-using.html Building with Meson should work on both Linux and Windows, but may need a few more tweaks on other operating systems.
* d3dvideosink: Replace some more gst_caps_to_string() with GST_PTR_FORMATSebastian Dröge2016-06-282-10/+3
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=768146
* d3dvideosink: leak on caps stringJonathan Roy2016-06-281-3/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=768146
* d3dvideosink: Don't include deprecated and unavailable d3dx9tex.hNirbheek Chauhan2016-04-191-1/+0
| | | | | | | It's not needed, not on native Windows nor with mingw, and we don't use anything from it anyway https://bugzilla.gnome.org/show_bug.cgi?id=765250
* d3dvideosink: post message to application for unhandled keyboard/mouse eventsVineeth TM2016-03-241-1/+7
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=763403
* bad: use new gst_element_class_add_static_pad_template()Vineeth TM2016-03-241-2/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=763081
* d3dvideosink: Don't try to recreate swapchain while the window is minimizedSebastian Dröge2015-11-301-1/+19
| | | | | | | It will fail and cause the sink to crash. Instead wait until the window is visible again before checking if the swapchain really has to be recreated. https://bugzilla.gnome.org/show_bug.cgi?id=741608
* d3dvideosink: Avoid frame rendering while the window is completely hiddenFabio Cetrini2015-06-101-0/+44
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=749856