mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-16 08:56:45 -05:00
pipewiresrc: don't clear buf_ids in close
buf_ids have to be kept so on_remove_buffer can remove them if it happens after close. Change-Id: I4b85918f17b8bee8c6cb4462d21b38906941e724
This commit is contained in:
parent
937a1567dd
commit
2b8aea7e9b
1 changed files with 0 additions and 2 deletions
|
|
@ -1072,8 +1072,6 @@ gst_pipewire_src_close (GstPipeWireSrc * pwsrc)
|
|||
|
||||
pw_thread_loop_stop (pwsrc->main_loop);
|
||||
|
||||
g_hash_table_remove_all (pwsrc->buf_ids);
|
||||
|
||||
pw_stream_destroy (pwsrc->stream);
|
||||
pwsrc->stream = NULL;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue