macos 10.15: gst_gl_window_cocoa_draw UI API called on a background thread
log:
Main Thread Checker: UI API called on a background thread: -[NSWindow contentView]
PID: 42589, TID: 5256928, Thread name: video_preview_sink/video_queue/branch_1:src, Queue name: com.apple.root.default-qos.overcommit, QoS: 0
Backtrace:
4 libgstgl-1.0.0.dylib 0x0000000100ba1f18 gst_gl_window_cocoa_draw + 88
5 libgstopengl.dylib 0x0000000111c3d9eb gst_glimage_sink_redisplay + 539
6 libgstopengl.dylib 0x0000000111c3b739 gst_glimage_sink_show_frame + 73
7 libgstbase-1.0.0.dylib 0x0000000100ddb637 gst_base_sink_do_preroll + 583
8 libgstbase-1.0.0.dylib 0x0000000100de248e gst_base_sink_chain_unlocked + 942
9 libgstbase-1.0.0.dylib 0x0000000100de716d gst_base_sink_chain_main + 61
10 libgstreamer-1.0.0.dylib 0x0000000100e96b21 gst_pad_chain_data_unchecked + 209
11 libgstreamer-1.0.0.dylib 0x0000000100e9787e gst_pad_push_data + 238
12 libgstreamer-1.0.0.dylib 0x0000000100e9769b gst_pad_push + 283
13 libgstbase-1.0.0.dylib 0x0000000100df6b2c gst_base_transform_chain + 412
14 libgstreamer-1.0.0.dylib 0x0000000100e96b21 gst_pad_chain_data_unchecked + 209
15 libgstreamer-1.0.0.dylib 0x0000000100e9787e gst_pad_push_data + 238
16 libgstreamer-1.0.0.dylib 0x0000000100e9769b gst_pad_push + 283
17 libgstbase-1.0.0.dylib 0x0000000100df6b2c gst_base_transform_chain + 412
18 libgstreamer-1.0.0.dylib 0x0000000100e96b21 gst_pad_chain_data_unchecked + 209
19 libgstreamer-1.0.0.dylib 0x0000000100e9787e gst_pad_push_data + 238
20 libgstreamer-1.0.0.dylib 0x0000000100e9769b gst_pad_push + 283
21 libgstbase-1.0.0.dylib 0x0000000100df6b2c gst_base_transform_chain + 412
22 libgstreamer-1.0.0.dylib 0x0000000100e96b21 gst_pad_chain_data_unchecked + 209
23 libgstreamer-1.0.0.dylib 0x0000000100e9787e gst_pad_push_data + 238
24 libgstreamer-1.0.0.dylib 0x0000000100e9769b gst_pad_push + 283
25 libgstreamer-1.0.0.dylib 0x0000000100e7e892 gst_proxy_pad_chain_default + 98
26 libgstreamer-1.0.0.dylib 0x0000000100e96b21 gst_pad_chain_data_unchecked + 209
27 libgstreamer-1.0.0.dylib 0x0000000100e9787e gst_pad_push_data + 238
28 libgstreamer-1.0.0.dylib 0x0000000100e9769b gst_pad_push + 283
29 libgstcoreelements.dylib 0x0000000110fc7388 gst_queue_loop + 1656
30 libgstreamer-1.0.0.dylib 0x0000000100eca6ea gst_task_func + 298
31 libglib-2.0.0.dylib 0x00000001010590e3 g_thread_pool_thread_proxy + 51
32 libglib-2.0.0.dylib 0x00000001010581ea g_thread_proxy + 90
33 libsystem_pthread.dylib 0x000000010120a8da _pthread_start + 125
34 libsystem_pthread.dylib 0x0000000101206f07 thread_start + 15