Add missing static_cast

This commit is contained in:
Jonas Kvinge 2021-02-11 22:33:54 +01:00
parent 2b988b8ab1
commit 29e8316527
1 changed files with 1 additions and 1 deletions

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_);
}