Add missing static_cast
This commit is contained in:
parent
2b988b8ab1
commit
29e8316527
@ -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_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 == 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_);
|
emit InvalidSongRequested(stream_url_);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user