summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Lespiau <damien.lespiau@intel.com>2010-01-09 15:44:01 +0000
committerDamien Lespiau <damien.lespiau@intel.com>2010-01-09 16:29:30 +0000
commit6a420a8ef1212e5cc6b085556bc44acc9dff07b4 (patch)
tree38352160f0288981cb5a547556a0fb853e75528d
parent4520606b8e6a4fd2f985fbccba9e7a6bd0205145 (diff)
downloadclutter-gst-6a420a8ef1212e5cc6b085556bc44acc9dff07b4.tar.gz
[doc] Document the ClutterGstVideoSinl:texture property
It's been there since the beginning without have a small sentence to describe it, let's fix that.
-rw-r--r--clutter-gst/clutter-gst-video-sink.c22
1 files changed, 15 insertions, 7 deletions
diff --git a/clutter-gst/clutter-gst-video-sink.c b/clutter-gst/clutter-gst-video-sink.c
index 7c3935d..2a124c0 100644
--- a/clutter-gst/clutter-gst-video-sink.c
+++ b/clutter-gst/clutter-gst-video-sink.c
@@ -1291,6 +1291,7 @@ clutter_gst_video_sink_class_init (ClutterGstVideoSinkClass *klass)
{
GObjectClass *gobject_class = G_OBJECT_CLASS (klass);
GstBaseSinkClass *gstbase_sink_class = GST_BASE_SINK_CLASS (klass);
+ GParamSpec *pspec;
g_type_class_add_private (klass, sizeof (ClutterGstVideoSinkPrivate));
@@ -1307,13 +1308,20 @@ clutter_gst_video_sink_class_init (ClutterGstVideoSinkClass *klass)
gstbase_sink_class->set_caps = clutter_gst_video_sink_set_caps;
gstbase_sink_class->get_caps = clutter_gst_video_sink_get_caps;
- g_object_class_install_property
- (gobject_class, PROP_TEXTURE,
- g_param_spec_object ("texture",
- "texture",
- "Target ClutterTexture object",
- CLUTTER_TYPE_TEXTURE,
- CLUTTER_GST_PARAM_READWRITE));
+ /**
+ * ClutterGstVideoSink:texture:
+ *
+ * This is the texture the video is decoded into. It can be any
+ * #ClutterTexture, however Cluter-Gst has a handy subclass,
+ * #ClutterGstVideoTexture, that implements the #ClutterMedia
+ * interface.
+ */
+ pspec = g_param_spec_object ("texture",
+ "Texture",
+ "Texture the video will be decoded into",
+ CLUTTER_TYPE_TEXTURE,
+ CLUTTER_GST_PARAM_READWRITE);
+ g_object_class_install_property (gobject_class, PROP_TEXTURE, pspec);
}
/**