}
static void
-gst_osx_video_sink_start_cocoa_event_poller (GstOSXVideoSink * osxvideosink )
+gst_osx_video_sink_run_cocoa_loop (GstOSXVideoSink * osxvideosink )
{
/* Cocoa applications require a main run loop running to dispatch UI
* events and process deferred calls to the main thread through
}
static void
-gst_osx_video_sink_stop_cocoa_event_poller (GstOSXVideoSink * osxvideosink)
+gst_osx_video_sink_stop_cocoa_loop (GstOSXVideoSink * osxvideosink)
{
if (osxvideosink->cocoa_timeout)
g_source_remove(osxvideosink->cocoa_timeout);
*/
GST_INFO_OBJECT (osxvideosink, "no superview");
} else {
- gst_osx_video_sink_start_cocoa_event_poller (osxvideosink);
+ gst_osx_video_sink_run_cocoa_loop (osxvideosink);
gst_osx_video_sink_call_from_main_thread(osxvideosink->osxvideosinkobject,
@selector(createInternalWindow), nil, YES);
GST_INFO_OBJECT (osxvideosink, "No superview, creating an internal window.");
gst_osx_video_sink_call_from_main_thread(osxvideosink->osxvideosinkobject,
@selector(destroy), (id) nil, YES);
- gst_osx_video_sink_stop_cocoa_event_poller(osxvideosink);
+ gst_osx_video_sink_stop_cocoa_loop (osxvideosink);
[pool release];
}