From 292f2de3e612a6006cf98eec24ed2f9e06921580 Mon Sep 17 00:00:00 2001 From: Jonas Kvinge Date: Sun, 4 Dec 2022 03:17:53 +0100 Subject: [PATCH] GstEnginePipeline: Add more info when ignoring error --- src/engine/gstenginepipeline.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/gstenginepipeline.cpp b/src/engine/gstenginepipeline.cpp index cee30f9a0..8ef54888f 100644 --- a/src/engine/gstenginepipeline.cpp +++ b/src/engine/gstenginepipeline.cpp @@ -1183,7 +1183,7 @@ void GstEnginePipeline::ErrorMessageReceived(GstMessage *msg) { if (pipeline_is_initialized_ && next_uri_set_ && (domain == GST_RESOURCE_ERROR || domain == GST_STREAM_ERROR)) { // A track is still playing and the next uri is not playable. We ignore the error here so it can play until the end. // But there is no message send to the bus when the current track finishes, we have to add an EOS ourself. - qLog(Info) << "Ignoring error when loading next track"; + qLog(Info) << "Ignoring error" << domain << code << message << debugstr << "when loading next track"; GstPad *pad = gst_element_get_static_pad(audiobin_, "sink"); gst_pad_send_event(pad, gst_event_new_eos()); gst_object_unref(pad);