qt: improve element and property descriptions a bit
authorTim-Philipp Müller <tim@centricular.com>
Sat, 17 Dec 2016 13:42:34 +0000 (13:42 +0000)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 17 Dec 2016 13:42:34 +0000 (13:42 +0000)
ext/qt/gstqtsink.cc
ext/qt/gstqtsrc.cc

index 85d6ae3..70e6858 100644 (file)
@@ -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,
index 1334dc3..849018e 100644 (file)
@@ -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,