mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
gst: Fix up some debug logs
Copy-pasto in the pause code, plus let's use GST_DEBUG_OBJECT() so we can track which pool is affected.
This commit is contained in:
parent
9e2a494d05
commit
9ece286c90
1 changed files with 2 additions and 2 deletions
|
|
@ -258,7 +258,7 @@ set_config (GstBufferPool * pool, GstStructure * config)
|
||||||
|
|
||||||
void gst_pipewire_pool_set_paused (GstPipeWirePool *pool, gboolean paused)
|
void gst_pipewire_pool_set_paused (GstPipeWirePool *pool, gboolean paused)
|
||||||
{
|
{
|
||||||
GST_DEBUG ("flush start");
|
GST_DEBUG_OBJECT (pool, "pause: %u", paused);
|
||||||
GST_OBJECT_LOCK (pool);
|
GST_OBJECT_LOCK (pool);
|
||||||
pool->paused = paused;
|
pool->paused = paused;
|
||||||
g_cond_signal (&pool->cond);
|
g_cond_signal (&pool->cond);
|
||||||
|
|
@ -270,7 +270,7 @@ flush_start (GstBufferPool * pool)
|
||||||
{
|
{
|
||||||
GstPipeWirePool *p = GST_PIPEWIRE_POOL (pool);
|
GstPipeWirePool *p = GST_PIPEWIRE_POOL (pool);
|
||||||
|
|
||||||
GST_DEBUG ("flush start");
|
GST_DEBUG_OBJECT (pool, "flush start");
|
||||||
GST_OBJECT_LOCK (pool);
|
GST_OBJECT_LOCK (pool);
|
||||||
g_cond_signal (&p->cond);
|
g_cond_signal (&p->cond);
|
||||||
GST_OBJECT_UNLOCK (pool);
|
GST_OBJECT_UNLOCK (pool);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue