Commit 7dac2e1e authored by Tim-Philipp Müller's avatar Tim-Philipp Müller

audiobasesink: fix misleading error message debug detail

https://bugzilla.gnome.org/show_bug.cgi?id=754260
parent 76d26a60
......@@ -1134,7 +1134,8 @@ gst_audio_base_sink_wait_event (GstBaseSink * bsink, GstEvent * event)
/* We must have a negotiated format before starting the ringbuffer */
if (G_UNLIKELY (!gst_audio_ring_buffer_is_acquired (sink->ringbuffer))) {
GST_ELEMENT_ERROR (sink, STREAM, FORMAT, (NULL),
("Sink not negotiated before GAP event."));
("Sink not negotiated before %s event.",
GST_EVENT_TYPE_NAME (event)));
return GST_FLOW_ERROR;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment