After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 523134 - osxvideosink does not stop when you control-C
osxvideosink does not stop when you control-C
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other Mac OS
: Normal normal
: 0.10.8
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-03-18 10:50 UTC by Andy Wingo
Modified: 2015-07-08 22:09 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Andy Wingo 2008-03-18 10:50:43 UTC
Steps to reproduce:

 1. run gst-launch videotestsrc ! osxvideosink
 2. press Control-C

Expected behaviour:

 * the pipeline stops properly

Actual behaviour:

 * The pipeline just keeps on a'chuggin along
 * Also, menus and the window are not responsive: when you mouseover a menu or the video window, we get the delightful spinning beach ball effect.

I am on OSX 10.5.
Comment 1 Andy Wingo 2008-03-18 11:51:08 UTC
Just committed this. Note that the beach-ball effect is still there.

2008-03-18  Andy Wingo  <wingo@pobox.com>

	* sys/osxvideo/osxvideosink.m (gst_osx_video_sink_osxwindow_destroy)
	(gst_osx_video_sink_osxwindow_new, cocoa_event_loop): 
	* sys/osxvideo/osxvideosink.h (struct _GstOSXVideoSink): If we
	need to run an event loop, do so in a task instead of assuming
	that there will be a GMainLoop. Fixes #523134.