[vlc-commits] input: document input_SetEsCatIds() thread-safety
Thomas Guillem
git at videolan.org
Mon Feb 8 09:30:15 UTC 2021
vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Mon Feb 8 10:23:57 2021 +0100| [ff2a25b6ddab3d75ba6d9604984d6cfd7801274d] | committer: Thomas Guillem
input: document input_SetEsCatIds() thread-safety
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ff2a25b6ddab3d75ba6d9604984d6cfd7801274d
---
src/input/input_internal.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/input/input_internal.h b/src/input/input_internal.h
index 36b2e8428b..7de662221d 100644
--- a/src/input/input_internal.h
+++ b/src/input/input_internal.h
@@ -638,6 +638,7 @@ static inline int input_ControlPushEsHelper( input_thread_t *p_input, int i_type
*
* cf. ES_OUT_SET_ES_CAT_IDS
* This function can be called before start or while started.
+ * This function is not thread-safe, the caller should handle the locking.
*/
void input_SetEsCatIds(input_thread_t *, enum es_format_category_e cat,
const char *str_ids);
More information about the vlc-commits
mailing list