gstreamer/subprojects/gst-plugins-bad/sys
Alexander Slobodeniuk 00102b6c16 d3d11window_win32: fix crash on RC unprepare() vs window_proc()
Unprepare method posts WM_GST_D3D11_DESTROY_INTERNAL_WINDOW
command to the window queue, and from that moment considers
internal_hwnd to be released, and so it sets it to null.
The problem is that it's possible that right at that moment
the window thread might be already processing some other
command, or just another command might be already in the queue.
On practice we met a crash when WM_PAINT got processed in between
(unprepare already finished and WM_GST_D3D11_DESTROY_INTERNAL_WINDOW
was not handled yet)

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6230>
2024-02-27 15:41:41 +00:00
..
amfcodec amfav1enc: Set stream-format on caps 2023-02-15 11:14:12 +00:00
androidmedia androidmedia/enc: handle codec-data before popping GstVideoCodecFrames 2023-09-16 01:40:17 +00:00
applemedia applemedia: Also fix inconsistent pixel format definition for NV12 2023-09-18 19:42:22 +00:00
asio meson: Call pkgconfig.generate in the loop where we declare plugins dependencies 2022-09-01 21:17:35 +00:00
bluez avdtputil: Use int instead of int range for fixed bitpool values 2023-05-17 09:27:04 +00:00
d3d11 d3d11window_win32: fix crash on RC unprepare() vs window_proc() 2024-02-27 15:41:41 +00:00
d3dvideosink d3dvideosink: Fix navigation event leak 2023-06-15 10:39:32 +00:00
decklink decklink: Fix broken COM string conversion 2023-10-09 15:34:44 +01:00
directshow dshowdeviceprovider: Fix leak in gst_dshow_device_provider_start 2023-03-20 13:10:55 +00:00
directsound meson: Call pkgconfig.generate in the loop where we declare plugins dependencies 2022-09-01 21:17:35 +00:00
dvb dvbbasebin: don't rely on g_key_file_get_(integer|uint64) return 2023-01-05 12:51:28 +00:00
fbdev meson: Call pkgconfig.generate in the loop where we declare plugins dependencies 2022-09-01 21:17:35 +00:00
ipcpipeline meson: Call pkgconfig.generate in the loop where we declare plugins dependencies 2022-09-01 21:17:35 +00:00
kms kmssink: Add TIDSS auto-detection 2023-10-15 23:17:29 +00:00
magicleap meson: Call pkgconfig.generate in the loop where we declare plugins dependencies 2022-09-01 21:17:35 +00:00
mediafoundation mfvideoencoder: Fix typo in template caps 2023-10-26 00:40:56 +01:00
msdk msdkav1enc: fix the category for msdkav1enc debug 2023-02-18 11:48:08 +00:00
nvcodec nvdec: Fix division by zero when calculating buffer duration 2023-12-14 12:05:08 +00:00
opensles meson: Call pkgconfig.generate in the loop where we declare plugins dependencies 2022-09-01 21:17:35 +00:00
qsv qsvdecoder: Fix stream format detection 2023-11-23 17:36:14 +00:00
shm meson: Call pkgconfig.generate in the loop where we declare plugins dependencies 2022-09-01 21:17:35 +00:00
tinyalsa meson: Call pkgconfig.generate in the loop where we declare plugins dependencies 2022-09-01 21:17:35 +00:00
uvch264 meson: Call pkgconfig.generate in the loop where we declare plugins dependencies 2022-09-01 21:17:35 +00:00
v4l2codecs v4l2codecs: h264: Fix a memory leak on renegotiation 2024-02-16 23:41:58 +00:00
va vabasedec: disable derived images for i965 driver 2024-02-23 12:23:09 +01:00
wasapi meson: Call pkgconfig.generate in the loop where we declare plugins dependencies 2022-09-01 21:17:35 +00:00
wasapi2 wasapi2: Respect ringbuffer buffer/latency time 2024-02-24 12:46:31 +00:00
wic wic: Add since marker 2022-10-24 12:42:51 +00:00
win32ipc win32ipc: Fix pipe handle leak 2023-08-23 18:57:44 +01:00
winks taglist, plugins: fix compiler warnings with GLib >= 2.76 2023-07-12 08:58:50 +00:00
winscreencap winscreencap: Warn for deprecated plugin use 2022-12-08 17:48:11 +00:00
meson.build win32ipc: Add WIN32 shared memory videosrc/sink elements 2022-11-24 12:41:18 +00:00