mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
module-rtp: only stop timer when it was running
This commit is contained in:
parent
49e7e3a0f0
commit
5082e9f458
2 changed files with 3 additions and 1 deletions
|
@ -87,6 +87,7 @@ struct impl {
|
|||
|
||||
struct pw_loop *data_loop;
|
||||
struct spa_source *timer;
|
||||
bool timer_running;
|
||||
|
||||
int (*receive_rtp)(struct impl *impl, uint8_t *buffer, ssize_t len);
|
||||
void (*flush_timeout)(struct impl *impl, uint64_t expirations);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue