mirror of
https://gitlab.freedesktop.org/pipewire/pipewire
synced 2024-09-30 05:05:27 +00:00
modules: fix compilation
This commit is contained in:
parent
e3ffcbefb6
commit
a76d262db6
|
@ -465,7 +465,7 @@ struct rtp_stream *rtp_stream_new(struct pw_core *core,
|
|||
if (!framecount) {
|
||||
impl->psamples = msec_to_samples(impl, ptime);
|
||||
pw_properties_setf(props, "rtp.framecount", "%u", impl->psamples);
|
||||
} else if (!ptime) {
|
||||
} else if (ptime == 0.0f) {
|
||||
impl->psamples = framecount;
|
||||
pw_properties_set(props, "rtp.ptime",
|
||||
spa_dtoa(tmp, sizeof(tmp),
|
||||
|
|
Loading…
Reference in a new issue