GNOME Bugzilla – Bug 703729
osxvideosink doesn't display video anymore if once set to READY
Last modified: 2013-07-11 16:53:20 UTC
Osxvideosink can't display video after it was once set to READY from higher states (PAUSED or PLAYING). Even after it was set to PLAYING again, it doesn't display the video stream anymore though it comsumps it successfully. I seem to found the cause so I hope to prepare a patch with fix soon.
Great, what is the cause? Is this the same as bug #703100 ?
No, I don't think so. In this case the cause is that gst_osx_video_sink_osxwindow_destroy() is called on state change to READY, which in turn calls -destroy() in GstOSXVideoSinkObject instance setting its 'destroyed' field to TRUE. All the further -showFrame() calls do a dry-run after that as 'if (!destroyed)' fails and GstGLView's methods aren't called. But thanks for the reference, I'll pay some attention on the case with deadlock though I never saw it in my installation.
I believe this has been already fixed in: http://cgit.freedesktop.org/gstreamer/gst-plugins-good/commit/sys/osxvideo?id=bb980775f8efad30e7be51e57cb30bdc94f84053
Exactly, you're right. So that it's my installation was outdated, sorry.