Commit 4ec87d96 authored by Sebastian Dröge's avatar Sebastian Dröge 🍵

d3dvideosink: Open Direct3D devices in a threadsafe way

Otherwise we'll get crashes when using the device from multiple
threads, e.g. when using multiple sinks at once.
parent a7e243b3
......@@ -2374,6 +2374,9 @@ d3d_class_display_device_create (GstD3DVideoSinkClass * klass, UINT adapter)
create_mask = 0 | D3DCREATE_FPU_PRESERVE;
/* Make sure that device access is threadsafe */
/* Determine vertex processing capabilities. Some cards have issues
* using software vertex processing. Courtesy:
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment