centricular / gstcefsrc

A simple gstreamer wrapper around Chromium Embedded Framework
84 stars 45 forks source link

Allow loading a new url in the PLAYING state #23

Closed rationalsa closed 3 years ago

rationalsa commented 3 years ago

I'm not 100% sure when gst_cef_src_init() runs, is state_lock guaranteed to be initialized by the time I try to use it?

MathieuDuponchelle commented 3 years ago

I'm not 100% sure when gst_cef_src_init() runs, is state_lock guaranteed to be initialized by the time I try to use it?

An element is a GObject, so init() is called at instantiation, not a problem here. The patch makes sense to me and I can't imagine a deadlock at a glance, merging thanks :)