mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 02:01:12 +00:00
gtksink: Fetch the default "widget" value in the docs
There's really no interesting "widget" value that could be shown in the docs, so use the GST_PARAM_DOC_SHOW_DEFAULT flag to avoid showing another value. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1088>
This commit is contained in:
parent
b0d4996380
commit
9e5b6830cd
1 changed files with 3 additions and 1 deletions
|
@ -100,7 +100,9 @@ gst_gtk_base_sink_class_init (GstGtkBaseSinkClass * klass)
|
|||
g_param_spec_object ("widget", "Gtk Widget",
|
||||
"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));
|
||||
GTK_TYPE_WIDGET,
|
||||
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS |
|
||||
GST_PARAM_DOC_SHOW_DEFAULT));
|
||||
|
||||
g_object_class_install_property (gobject_class, PROP_FORCE_ASPECT_RATIO,
|
||||
g_param_spec_boolean ("force-aspect-ratio",
|
||||
|
|
Loading…
Reference in a new issue