mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Allow skipping more bad packets after a good one.
This commit is contained in:
parent
d69caacded
commit
7ab919e249
1 changed files with 2 additions and 0 deletions
|
@ -59,6 +59,8 @@ FFmpeg::AvErrorWrap ProcessPacket(Stream &stream, FFmpeg::Packet &&packet) {
|
||||||
return FFmpeg::AvErrorWrap(); // Try to skip a bad packet.
|
return FFmpeg::AvErrorWrap(); // Try to skip a bad packet.
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
stream.invalidDataPackets = 0;
|
||||||
}
|
}
|
||||||
return error;
|
return error;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue