osxvideo crash when the window size changed.
张欣
seanzhangxinsh at gmail.com
Tue Mar 21 12:26:53 UTC 2023
I'm developing an app on Mac osx. the UI(qt widget) created a windows and
then use gst_video_overlay_set_window_handle() set the window to
osxvideosink, it works for most of time but when I change the size of the
window, it crashes form time to time(5~10 percents). The stack looks same
with an old bug https://bugzilla.gnome.org/show_bug.cgi?id=691484. but it
seems this issue has been fixed for long time. I am using gst 1.18, it
seems not a very old version. I tried to pause the video sink before
windows size change and resume play after change done, but no help.
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_platform.dylib 0x7ff811a452d3
_platform_memmove$VARIANT$Haswell + 307
1 libgstosxvideo.dylib 0x10c75c9de
-[GstOSXVideoSinkObject showFrame:] + 238
2 Foundation 0x7ff81297faf3
__NSThreadPerformPerform + 179
3 CoreFoundation 0x7ff811af98fd
__CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
4 CoreFoundation 0x7ff811af9865 __CFRunLoopDoSource0
+ 180
5 CoreFoundation 0x7ff811af9646 __CFRunLoopDoSources0
+ 340
6 CoreFoundation 0x7ff811af801b __CFRunLoopRun + 893
7 CoreFoundation 0x7ff811af75dd CFRunLoopRunSpecific
+ 563
8 HIToolbox 0x7ff81a72a4f1
RunCurrentEventLoopInMode + 292
Thanks,
Sean
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20230321/6da2d9bf/attachment.htm>
More information about the gstreamer-devel
mailing list