gst: sink: Fix some object-less debug messages

We have the object, so there's no reason to skip that in the logs.
This commit is contained in:
Arun Raghavan 2024-05-28 12:25:43 +03:00
parent 1e3797512a
commit 315dc7cdad

View file

@ -528,7 +528,7 @@ do_send_buffer (GstPipeWireSink *pwsink, GstBuffer *buffer)
video_size += d->chunk->size; video_size += d->chunk->size;
} }
} else { } else {
GST_ERROR ("plane num not matching, meta:%u buffer:%u", meta->n_planes, b->n_datas); GST_ERROR_OBJECT (pwsink, "plane num not matching, meta:%u buffer:%u", meta->n_planes, b->n_datas);
} }
} }
@ -542,7 +542,7 @@ static void
on_process (void *data) on_process (void *data)
{ {
GstPipeWireSink *pwsink = data; GstPipeWireSink *pwsink = data;
GST_DEBUG ("signal"); GST_DEBUG_OBJECT (pwsink, "signal");
g_cond_signal (&pwsink->pool->cond); g_cond_signal (&pwsink->pool->cond);
} }
@ -694,7 +694,7 @@ gst_pipewire_sink_setcaps (GstBaseSink * bsink, GstCaps * caps)
start_error: start_error:
{ {
GST_ERROR ("could not start stream: %s", error); GST_ERROR_OBJECT (pwsink, "could not start stream: %s", error);
pw_thread_loop_unlock (pwsink->core->loop); pw_thread_loop_unlock (pwsink->core->loop);
return FALSE; return FALSE;
} }