mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
media-session: sanitize description
Because we use the description as the JACK name, remove the : so that it looks somewhat ok in more cases.
This commit is contained in:
parent
60233e30a7
commit
aea79cd79c
5 changed files with 52 additions and 40 deletions
|
|
@ -302,6 +302,8 @@ int sm_media_session_match_rules(const char *rules, size_t size,
|
|||
|
||||
char *sm_media_session_sanitize_name(char *name, int size, char sub,
|
||||
const char *fmt, ...) SPA_PRINTF_FUNC(4, 5);
|
||||
char *sm_media_session_sanitize_description(char *name, int size, char sub,
|
||||
const char *fmt, ...) SPA_PRINTF_FUNC(4, 5);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue