Skip to content

Commit fd79063

Browse files
amysparkMathieuDuponchelle
authored andcommitted
cefsrc: Fix macOS build
1 parent 3c07738 commit fd79063

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gstcefsrc.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -845,10 +845,10 @@ gst_cef_src_change_state(GstElement *src, GstStateChange transition)
845845
/* in the main thread as per Cocoa */
846846
if (pthread_main_np()) {
847847
g_mutex_unlock (&init_lock);
848-
run_cef ((GstCefSrc*) src);
848+
init_cef ((GstCefSrc*) src);
849849
g_mutex_lock (&init_lock);
850850
} else {
851-
dispatch_async_f(dispatch_get_main_queue(), (GstCefSrc*)src, (dispatch_function_t)&run_cef);
851+
dispatch_async_f(dispatch_get_main_queue(), (GstCefSrc*)src, (dispatch_function_t)&init_cef);
852852
while (cef_status == CEF_STATUS_INITIALIZING)
853853
g_cond_wait (&init_cond, &init_lock);
854854
}

0 commit comments

Comments
 (0)