mirror of
https://gitlab.freedesktop.org/pipewire/pipewire
synced 2024-09-30 05:05:27 +00: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
|
@ -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…
Reference in a new issue