New upstream version 26.0.0+dfsg1

This commit is contained in:
Sebastian Ramacher 2020-10-01 22:15:25 +02:00
parent 8e020cdacb
commit 240080891f
837 changed files with 41275 additions and 9196 deletions

View file

@ -529,3 +529,17 @@ Functions
active scene if not in studio mode.
:param scene: The scene to set as the current preview.
---------------------------------------
.. function:: void *obs_frontend_take_screenshot(void)
Takes a screenshot of the main OBS output.
---------------------------------------
.. function:: void *obs_frontend_take_source_screenshot(obs_source_t *source)
Takes a screenshot of the specified source.
:param source: The source to take screenshot of.

View file

@ -39,9 +39,10 @@ Video Handler
YUV color space. Can be one of the following values:
- VIDEO_CS_DEFAULT - Equivalent to VIDEO_CS_601
- VIDEO_CS_DEFAULT - Equivalent to VIDEO_CS_709
- VIDEO_CS_601 - 601 color space
- VIDEO_CS_709 - 709 color space
- VIDEO_CS_SRGB - sRGB color space
---------------------

View file

@ -686,6 +686,7 @@ Functions used by outputs
VIDEO_CS_DEFAULT,
VIDEO_CS_601,
VIDEO_CS_709,
VIDEO_CS_SRGB,
};
enum video_range_type {

View file

@ -230,6 +230,13 @@ Property Object Functions
:param description: Localized name shown to user
:return: The property
Relevant data types used with this function:
.. code:: cpp
typedef bool (*obs_property_clicked_t)(obs_properties_t *props,
obs_property_t *property, void *data);
---------------------
.. function:: obs_property_t *obs_properties_add_font(obs_properties_t *props, const char *name, const char *description)
@ -514,16 +521,20 @@ Property Modification Functions
-------------------------------
.. function:: void obs_property_set_modified_callback(obs_property_t *p, obs_property_modified_t modified)
void obs_property_set_modified_callback2(obs_property_t *p, obs_property_modified2_t modified2, void *priv)
Allows the ability to change the properties depending on what
settings are used by the user.
Relevant data types used with this function:
Relevant data types used with these functions:
.. code:: cpp
typedef bool (*obs_property_clicked_t)(obs_properties_t *props,
obs_property_t *property, void *data);
typedef bool (*obs_property_modified_t)(obs_properties_t *props,
obs_property_t *property, obs_data_t *settings);
typedef bool (*obs_property_modified2_t)(void *priv,
obs_properties_t *props, obs_property_t *property,
obs_data_t *settings);
---------------------

View file

@ -274,8 +274,10 @@ modules/namespaces).
.. py:function:: obs_properties_add_button(properties, setting_name, text, callback)
Adds a button properties to an obs_properties_t object. The callback
takes no parameters.
Adds a button property to an obs_properties_t object. The callback
takes two parameters: the first parameter is the obs_properties_t
object, and the second parameter is the obs_property_t for the
button.
:param properties: An obs_properties_t object.
:param setting_name: A setting identifier string.