Skip to content

Commit a494950

Browse files
committed
Refactor obs_enum_output_types_with_protocol
1 parent 7ecfd80 commit a494950

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

text/0045-add-notion-of-protocol.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Adding to `obs_output_info`:
1919
Adding to this API these functions:
2020
- `const char *obs_output_get_protocols(const obs_output_t *output)`: returns protocols supported by the output.
2121
- `bool obs_is_output_protocol_registered(const char *protocol)`: return true if an output with the protocol is registered.
22-
- `bool obs_enum_output_types_with_protocol(const char *protocol, size_t idx, const char **id)`: enumerate all outputs types compatible with the given protocol.
22+
- `void obs_enum_output_types_with_protocol(const char *protocol, void *data, bool (*enum_cb)(void *data, const char *id))`: enumerate through a callback all outputs types compatible with the given protocol.
2323
- `bool obs_enum_output_protocols(size_t idx, const char **protocol)`: enumerate all registered protocol.
2424
- `const char *obs_get_output_supported_video_codecs(const char *id)`: return compatible video codecs of the given output id.
2525
- `const char *obs_get_output_supported_audio_codecs(const char *id)`: return compatible audio codecs of the given output id.

0 commit comments

Comments
 (0)