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:
David Svensson Fors 2017-06-21 11:19:27 +02:00 committed by Wim Taymans
parent 937a1567dd
commit 2b8aea7e9b

View file

@ -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;