GstEngine: Treat all stream errors as non-fatal

Fixes #1347
This commit is contained in:
Jonas Kvinge
2024-01-02 19:54:19 +01:00
parent 4cc66bccad
commit 7c4e33b676

View File

@@ -569,7 +569,7 @@ void GstEngine::HandlePipelineError(const int pipeline_id, const int domain, con
error_code == static_cast<int>(GST_RESOURCE_ERROR_OPEN_READ) || error_code == static_cast<int>(GST_RESOURCE_ERROR_OPEN_READ) ||
error_code == static_cast<int>(GST_RESOURCE_ERROR_NOT_AUTHORIZED) error_code == static_cast<int>(GST_RESOURCE_ERROR_NOT_AUTHORIZED)
)) ))
|| (domain == static_cast<int>(GST_STREAM_ERROR) && error_code == static_cast<int>(GST_STREAM_ERROR_TYPE_NOT_FOUND)) || (domain == static_cast<int>(GST_STREAM_ERROR))
) { ) {
emit InvalidSongRequested(stream_url_); emit InvalidSongRequested(stream_url_);
} }