1
0
mirror of https://github.com/strawberrymusicplayer/strawberry synced 2024-12-18 19:42:53 +01:00

Add missing static_cast

This commit is contained in:
Jonas Kvinge 2021-02-11 22:33:54 +01:00
parent 2b988b8ab1
commit 29e8316527

View File

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