mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-31 22:25:38 -04:00
module-rtp: Propagate cleanup.sec to module-rtp-source
This might be specified on a `create-stream`, but then not actually applied as a module argument, and thus be ignored.
This commit is contained in:
parent
2c7272a13a
commit
9559b9382b
1 changed files with 4 additions and 0 deletions
|
|
@ -975,6 +975,10 @@ static int session_load_source(struct session *session, struct pw_properties *pr
|
|||
if ((media = pw_properties_get(props, "sess.media")) == NULL)
|
||||
media = "audio";
|
||||
|
||||
if ((str = pw_properties_get(props, "cleanup.sec")) != NULL) {
|
||||
fprintf(f, "\"cleanup.sec\" = \"%s\", ", str);
|
||||
}
|
||||
|
||||
if (spa_streq(media, "audio")) {
|
||||
const char *mime;
|
||||
const struct format_info *format_info;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue