mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 06:07:06 +02:00
Fix check for 4K frame size in streaming.
This commit is contained in:
parent
4f8ea4c807
commit
d67dafaccb
1 changed files with 1 additions and 1 deletions
|
@ -512,7 +512,7 @@ bool VideoTrackObject::tryReadFirstFrame(FFmpeg::Packet &&packet) {
|
|||
}
|
||||
|
||||
bool VideoTrackObject::processFirstFrame() {
|
||||
if (_stream.frame->width * _stream.frame->height >= kMaxFrameArea) {
|
||||
if (_stream.frame->width * _stream.frame->height > kMaxFrameArea) {
|
||||
return false;
|
||||
}
|
||||
auto frame = ConvertFrame(
|
||||
|
|
Loading…
Add table
Reference in a new issue