mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 08:46:40 +00:00
d3dvideosink: Don't initialize the render window swap chain while the device is lost and we're waiting for reset
https://bugzilla.gnome.org/show_bug.cgi?id=744615
This commit is contained in:
parent
f53bc227a8
commit
e36c27cd46
1 changed files with 6 additions and 1 deletions
|
@ -1062,7 +1062,12 @@ d3d_prepare_render_window (GstD3DVideoSink * sink)
|
|||
LOCK_SINK (sink);
|
||||
|
||||
if (sink->d3d.window_handle == NULL) {
|
||||
GST_DEBUG_OBJECT (sink, "No window handle has been set..");
|
||||
GST_DEBUG_OBJECT (sink, "No window handle has been set.");
|
||||
goto end;
|
||||
}
|
||||
|
||||
if (sink->d3d.device_lost) {
|
||||
GST_DEBUG_OBJECT (sink, "Device is lost, waiting for reset.");
|
||||
goto end;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue