Small bugfix
This commit is contained in:
parent
633856a413
commit
062d1c2f5a
@ -117,7 +117,7 @@ Document DocumentsManager::on_get_document(RemoteDocument remote_document, Dialo
|
|||||||
auto video_dimensions = get_dimensions(video->w_, video->h_, "documentAttributeVideo");
|
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 || (video_dimensions.width != 0 && video_dimensions != dimensions)) {
|
||||||
if (dimensions.width != 0) {
|
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;
|
dimensions = video_dimensions;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user