mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-27 11:32:51 +00:00
gtksink: "widget" must be access from main thread
Document that "widget" property must be accessed from the main thread (where GTK is running). This is the same for state transition on these elements. It is very natural to do so un GTK applications.
This commit is contained in:
parent
067051f6fe
commit
6fdedfc68a
1 changed files with 2 additions and 1 deletions
|
@ -88,7 +88,8 @@ gst_gtk_base_sink_class_init (GstGtkBaseSinkClass * klass)
|
|||
|
||||
g_object_class_install_property (gobject_class, PROP_WIDGET,
|
||||
g_param_spec_object ("widget", "Gtk Widget",
|
||||
"The GtkWidget to place in the widget heirachy",
|
||||
"The GtkWidget to place in the widget hierarchy "
|
||||
"(must only be get from the GTK main thread)",
|
||||
GTK_TYPE_WIDGET, G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
g_object_class_install_property (gobject_class, PROP_FORCE_ASPECT_RATIO,
|
||||
|
|
Loading…
Reference in a new issue