GNOME Bugzilla – Bug 752146
osxvideosink: pipeline still doesn't want to stop on closing osxvideosink's window
Last modified: 2018-11-03 15:01:59 UTC
Similar to this one (marked as fixed): https://bugzilla.gnome.org/show_bug.cgi?id=523134 Steps to reproduce: 1. gst-launch-1.0 videotestsrc ! osxvideosink 2. close osxvideosink's window Expected behaviour: Setting pipeline to NULL ... Freeing pipeline ... Actual behaviour: Pipeline hangs. Also: debugging this with Xcode makes Xcode freeze :)
It seems to be related thread safety issue. When I tested with higher level of debug than 4, the pipeline can be terminated. but if less than 3, the pipeline was stuck.
Created attachment 307129 [details] [review] don't need to be waiting for thread twice.
I don't know if it helps, but I see no space character :-)
> I don't know if it helps In my case, my patch works well. please check it. > I see no space character please, can you explain once again what you said? I don't understand :)
Oh, thats just about code style for line 750.
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/issues/201.