mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-07-20 12:15:28 -04:00
docs: Clarify that data for source/encoder properties can be null
This commit is contained in:
@@ -90,6 +90,11 @@ Encoder Definition Structure (obs_encoder_info)
|
||||
|
||||
Gets the property information of this encoder.
|
||||
|
||||
:param data: The implementation data associated with this encoder.
|
||||
This value can be null (e.g., when
|
||||
:c:func:`obs_get_encoder_properties()` is called on the
|
||||
encoder type), make sure to handle this gracefully.
|
||||
|
||||
(Optional)
|
||||
|
||||
:return: The properties of the encoder
|
||||
|
||||
@@ -222,6 +222,11 @@ Source Definition Structure (obs_source_info)
|
||||
obs_properties_t *(*obs_source_info.get_properties2)(void *data, void *type_data)
|
||||
|
||||
Gets the property information of this source.
|
||||
|
||||
:param data: The implementation data associated with this source.
|
||||
This value can be null (e.g., when
|
||||
:c:func:`obs_get_source_properties()` is called on the
|
||||
source type), make sure to handle this gracefully.
|
||||
|
||||
(Optional)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user