2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Video play in MediaView support done in Xcode/QtCreator projects.

This commit is contained in:
John Preston
2016-07-19 15:31:48 +03:00
parent 5369e08a6e
commit 49f6431fca
8 changed files with 250 additions and 11 deletions

View File

@@ -468,7 +468,8 @@ void FFMpegReaderImplementation::finishPacket() {
_packetQueue.head().size = _packetStartedSize;
_packetQueue.head().data = _packetStartedData;
_packetStarted = false;
av_packet_unref(&_packetQueue.dequeue());
av_packet_unref(&_packetQueue.head());
_packetQueue.dequeue();
}
}