libobs: Remove unused obs_*_info module pointer

These were likely originally used for the obs_*_get_module functions,
but no longer are. Additionally, they weren't even implemented for
anything but obs_source_info. Let's remove this before it hits stable.
This commit is contained in:
Sebastian Beckmann
2025-08-30 00:33:02 +02:00
committed by Ryan Foster
parent fc21c0f2f6
commit 5841db6efc
5 changed files with 0 additions and 13 deletions
-3
View File
@@ -344,9 +344,6 @@ struct obs_encoder_info {
bool (*encode_texture2)(void *data, struct encoder_texture *texture, int64_t pts, uint64_t lock_key,
uint64_t *next_key, struct encoder_packet *packet, bool *received_packet);
/** Pointer to module that generated this encoder **/
obs_module_t *module;
};
EXPORT void obs_register_encoder_s(const struct obs_encoder_info *info, size_t size);
-1
View File
@@ -990,7 +990,6 @@ void obs_register_source_s(const struct obs_source_info *info, size_t size)
/* NOTE: The assignment of data.module must occur before memcpy! */
if (loadingModule) {
data.module = loadingModule;
char *source_id = bstrdup(info->id);
da_push_back(loadingModule->sources, &source_id);
}
-3
View File
@@ -85,9 +85,6 @@ struct obs_output_info {
/* required if OBS_OUTPUT_SERVICE */
const char *protocols;
/* Pointer to module that generated this output */
obs_module_t *module;
};
EXPORT void obs_register_output_s(const struct obs_output_info *info, size_t size);
-3
View File
@@ -104,9 +104,6 @@ struct obs_service_info {
const char *(*get_connect_info)(void *data, uint32_t type);
bool (*can_try_to_connect)(void *data);
/* Pointer to module that generated this service */
obs_module_t *module;
};
EXPORT void obs_register_service_s(const struct obs_service_info *info, size_t size);
-3
View File
@@ -551,9 +551,6 @@ struct obs_source_info {
* @param source Source that the filter is being added to
*/
void (*filter_add)(void *data, obs_source_t *source);
/** Pointer to module that generated this source **/
obs_module_t *module;
};
EXPORT void obs_register_source_s(const struct obs_source_info *info, size_t size);