projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c0561fb
)
d3d11videosink: only destroy loop if external_win_id is false
author
Aaron Boxer
<aaron.boxer@collabora.com>
Wed, 13 Nov 2019 01:54:46 +0000
(19:54 -0600)
committer
Aaron Boxer
<aaron.boxer@collabora.com>
Wed, 13 Nov 2019 01:54:46 +0000
(19:54 -0600)
Loop was created with this condition, so it should also be
destroyed under the same condition
sys/d3d11/gstd3d11window.c
patch
|
blob
|
history
diff --git
a/sys/d3d11/gstd3d11window.c
b/sys/d3d11/gstd3d11window.c
index
5a784ff
..
89d0a26
100644
(file)
--- a/
sys/d3d11/gstd3d11window.c
+++ b/
sys/d3d11/gstd3d11window.c
@@
-828,7
+828,7
@@
gst_d3d11_window_prepare (GstD3D11Window * window, guint width, guint height,
}
g_mutex_unlock (&window->lock);
- if (!window->created) {
+ if (!window->
external_win_id && !window->
created) {
g_main_loop_quit (window->loop);
g_thread_join (window->thread);
g_main_loop_unref (window->loop);