mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-11 13:30:07 -05:00
pinossink: clear the cache
Now that we don't destroy the cache anymore when suspending, we need to manually clear the buffers in the cache.
This commit is contained in:
parent
5c7447fb4d
commit
76afc1e330
3 changed files with 25 additions and 4 deletions
|
|
@ -444,6 +444,8 @@ thread_error:
|
|||
static gboolean
|
||||
gst_pinos_socket_sink_close (GstPinosSocketSink * this)
|
||||
{
|
||||
gst_burst_cache_remove_buffers (this->cache);
|
||||
|
||||
GST_DEBUG ("context %p, loop %p", this->context, this->loop);
|
||||
g_main_loop_quit (this->loop);
|
||||
g_thread_join (this->thread);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue