mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-19 23:57:16 +02:00
Increase limit for full video request.
This commit is contained in:
parent
5ab8a7d9c5
commit
0fde35f59e
1 changed files with 1 additions and 1 deletions
|
@ -756,7 +756,7 @@ void Viewport::setTileGeometry(not_null<VideoTile*> tile, QRect geometry) {
|
|||
tile->setGeometry(geometry);
|
||||
|
||||
const auto min = std::min(geometry.width(), geometry.height());
|
||||
const auto kMedium = style::ConvertScale(480);
|
||||
const auto kMedium = style::ConvertScale(540);
|
||||
const auto kSmall = style::ConvertScale(240);
|
||||
const auto quality = (min >= kMedium)
|
||||
? VideoQuality::Full
|
||||
|
|
Loading…
Add table
Reference in a new issue