summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2010-10-25 14:13:16 +0100
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2010-12-02 19:04:28 +0100
commit334a7390838ef9fc784191cd2b8ab25c52a8ddbe (patch)
treed4fe613ee20792ee1a482640c7314f83266cdbce /sys
parent28da26e670a33a87fb6eb0495f62ebb11212c967 (diff)
downloadgstreamer-plugins-base-334a7390838ef9fc784191cd2b8ab25c52a8ddbe.tar.gz
ximagesink: Add docs for the new property
Including Since markers
Diffstat (limited to 'sys')
-rw-r--r--sys/ximage/ximagesink.c20
1 files changed, 18 insertions, 2 deletions
diff --git a/sys/ximage/ximagesink.c b/sys/ximage/ximagesink.c
index e014aabda..d1780fcf5 100644
--- a/sys/ximage/ximagesink.c
+++ b/sys/ximage/ximagesink.c
@@ -2407,13 +2407,29 @@ gst_ximagesink_class_init (GstXImageSinkClass * klass)
"When enabled, "
"the current frame will always be drawn in response to X Expose "
"events", TRUE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
+
+ /**
+ * GstXImageSink:window-width
+ *
+ * Actual width of the video window.
+ *
+ * Since: 0.10.32
+ */
g_object_class_install_property (gobject_class, PROP_WINDOW_WIDTH,
g_param_spec_uint64 ("window-width", "window-width",
- "Width of the screen", 0, G_MAXUINT64, 0,
+ "Width of the window", 0, G_MAXUINT64, 0,
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
+
+ /**
+ * GstXImageSink:window-height
+ *
+ * Actual height of the video window.
+ *
+ * Since: 0.10.32
+ */
g_object_class_install_property (gobject_class, PROP_WINDOW_HEIGHT,
g_param_spec_uint64 ("window-height", "window-height",
- "Height of the screen", 0, G_MAXUINT64, 0,
+ "Height of the window", 0, G_MAXUINT64, 0,
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
gstelement_class->change_state = gst_ximagesink_change_state;