From 01a462a4c9003f2ed2bf6a6df1f512d00a0a3b07 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim-Philipp=20M=C3=BCller?= Date: Sat, 17 Dec 2016 13:42:34 +0000 Subject: [PATCH] qt: improve element and property descriptions a bit --- ext/qt/gstqtsink.cc | 4 ++-- ext/qt/gstqtsrc.cc | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/ext/qt/gstqtsink.cc b/ext/qt/gstqtsink.cc index 85d6ae3..70e6858 100644 --- a/ext/qt/gstqtsink.cc +++ b/ext/qt/gstqtsink.cc @@ -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 "); 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, diff --git a/ext/qt/gstqtsrc.cc b/ext/qt/gstqtsrc.cc index 1334dc3..849018e 100644 --- a/ext/qt/gstqtsrc.cc +++ b/ext/qt/gstqtsrc.cc @@ -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 "); 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, -- 2.7.4