mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 14:45:14 +00:00
Version 0.10.13.alpha: crash fix in custom notifications.
Not sending inline bot request drafts to server by timeout.
This commit is contained in:
@@ -525,7 +525,7 @@ void FFMpegReaderImplementation::finishPacket() {
|
||||
|
||||
void FFMpegReaderImplementation::clearPacketQueue() {
|
||||
finishPacket();
|
||||
auto packets = createAndSwap(_packetQueue);
|
||||
auto packets = base::take(_packetQueue);
|
||||
for (auto &packetData : packets) {
|
||||
AVPacket packet;
|
||||
FFMpeg::packetFromDataWrap(packet, packetData);
|
||||
|
Reference in New Issue
Block a user