mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 23:06:49 +00:00
xvimagesink: Add docs for the new property
Including Since markers
This commit is contained in:
parent
f8f1aa2160
commit
28da26e670
1 changed files with 24 additions and 9 deletions
|
@ -3596,15 +3596,6 @@ gst_xvimagesink_class_init (GstXvImageSinkClass * klass)
|
||||||
"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));
|
||||||
|
|
||||||
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,
|
|
||||||
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
|
|
||||||
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,
|
|
||||||
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* GstXvImageSink:double-buffer
|
* GstXvImageSink:double-buffer
|
||||||
*
|
*
|
||||||
|
@ -3652,6 +3643,30 @@ gst_xvimagesink_class_init (GstXvImageSinkClass * klass)
|
||||||
"Draw black borders to fill unused area in force-aspect-ratio mode",
|
"Draw black borders to fill unused area in force-aspect-ratio mode",
|
||||||
TRUE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
TRUE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||||
|
|
||||||
|
/**
|
||||||
|
* GstXvImageSink: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 window", 0, G_MAXUINT64, 0,
|
||||||
|
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
|
||||||
|
|
||||||
|
/**
|
||||||
|
* GstXvImageSink: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 window", 0, G_MAXUINT64, 0,
|
||||||
|
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
|
||||||
|
|
||||||
gobject_class->finalize = gst_xvimagesink_finalize;
|
gobject_class->finalize = gst_xvimagesink_finalize;
|
||||||
|
|
||||||
gstelement_class->change_state =
|
gstelement_class->change_state =
|
||||||
|
|
Loading…
Reference in a new issue