Small bugfix

This commit is contained in:
Andrea Cavalli 2021-03-12 18:03:32 +01:00
parent 633856a413
commit 062d1c2f5a
1 changed files with 1 additions and 1 deletions

View File

@ -117,7 +117,7 @@ Document DocumentsManager::on_get_document(RemoteDocument remote_document, Dialo
auto video_dimensions = get_dimensions(video->w_, video->h_, "documentAttributeVideo");
if (dimensions.width == 0 || (video_dimensions.width != 0 && video_dimensions != dimensions)) {
if (dimensions.width != 0) {
LOG(ERROR) << "Receive ambiguous video dimensions " << dimensions << " and " << video_dimensions;
LOG(INFO) << "Receive ambiguous video dimensions " << dimensions << " and " << video_dimensions;
}
dimensions = video_dimensions;
}