libobs: Add function to get encoder object's defaults
Rather than relying on the encoder's type identifier, additionally allow the ability to get defaults via an encoder object.
This commit is contained in:
@@ -407,6 +407,7 @@ General Encoder Functions
|
||||
---------------------
|
||||
|
||||
.. function:: obs_data_t *obs_encoder_defaults(const char *id)
|
||||
obs_data_t *obs_encoder_get_defaults(const obs_encoder_t *encoder)
|
||||
|
||||
:return: An incremented reference to the encoder's default settings
|
||||
|
||||
|
Reference in New Issue
Block a user