mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 17:20:36 +00:00
ximagesink: Add docs for the new property
Including Since markers
This commit is contained in:
parent
28da26e670
commit
334a739083
1 changed files with 18 additions and 2 deletions
|
@ -2407,13 +2407,29 @@ gst_ximagesink_class_init (GstXImageSinkClass * klass)
|
||||||
"When enabled, "
|
"When enabled, "
|
||||||
"the current frame will always be drawn in response to X Expose "
|
"the current frame will always be drawn in response to X Expose "
|
||||||
"events", TRUE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
"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_object_class_install_property (gobject_class, PROP_WINDOW_WIDTH,
|
||||||
g_param_spec_uint64 ("window-width", "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));
|
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_object_class_install_property (gobject_class, PROP_WINDOW_HEIGHT,
|
||||||
g_param_spec_uint64 ("window-height", "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));
|
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
|
||||||
|
|
||||||
gstelement_class->change_state = gst_ximagesink_change_state;
|
gstelement_class->change_state = gst_ximagesink_change_state;
|
||||||
|
|
Loading…
Reference in a new issue