mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
qt: improve element and property descriptions a bit
This commit is contained in:
parent
603c34d59d
commit
0489f4eac5
2 changed files with 6 additions and 6 deletions
|
@ -105,12 +105,12 @@ gst_qt_sink_class_init (GstQtSinkClass * klass)
|
|||
gobject_class->get_property = gst_qt_sink_get_property;
|
||||
|
||||
gst_element_class_set_metadata (gstelement_class, "Qt Video Sink",
|
||||
"Sink/Video", "A video sink the renders to a QQuickItem",
|
||||
"Sink/Video", "A video sink that renders to a QQuickItem",
|
||||
"Matthew Waters <matthew@centricular.com>");
|
||||
|
||||
g_object_class_install_property (gobject_class, PROP_WIDGET,
|
||||
g_param_spec_pointer ("widget", "QQuickItem",
|
||||
"The QQuickItem to place in the object heirachy",
|
||||
"The QQuickItem to place in the object hierarchy",
|
||||
(GParamFlags) (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)));
|
||||
|
||||
g_object_class_install_property (gobject_class, PROP_FORCE_ASPECT_RATIO,
|
||||
|
|
|
@ -97,18 +97,18 @@ gst_qt_src_class_init (GstQtSrcClass * klass)
|
|||
gobject_class->finalize = gst_qt_src_finalize;
|
||||
|
||||
gst_element_class_set_metadata (gstelement_class, "Qt Video Source",
|
||||
"Source/Video", "A video src the grab window from a qml view",
|
||||
"Source/Video", "A video src that captures a window from a QML view",
|
||||
"Multimedia Team <shmmmw@freescale.com>");
|
||||
|
||||
g_object_class_install_property (gobject_class, PROP_WINDOW,
|
||||
g_param_spec_pointer ("window", "QQuickWindow",
|
||||
"The QQuickWindow to place in the object heirachy",
|
||||
"The QQuickWindow to place in the object hierarchy",
|
||||
(GParamFlags) (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)));
|
||||
|
||||
g_object_class_install_property (gobject_class, PROP_DEFAULT_FBO,
|
||||
g_param_spec_boolean ("use-default-fbo",
|
||||
"If use default fbo",
|
||||
"When set TRUE, it will not create new fbo for qml render thread",
|
||||
"Whether to use default FBO",
|
||||
"When set it will not create a new FBO for the QML render thread",
|
||||
FALSE, (GParamFlags) (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)));
|
||||
|
||||
gst_element_class_add_pad_template (gstelement_class,
|
||||
|
|
Loading…
Reference in a new issue