mirror of https://github.com/procxx/kepka.git
parent
c5c77ddb67
commit
775d5b6dcc
|
@ -23,7 +23,8 @@ extern "C" {
|
|||
namespace FFmpeg {
|
||||
namespace {
|
||||
|
||||
constexpr auto kAlignImageBy = 16;
|
||||
// See https://github.com/telegramdesktop/tdesktop/issues/7225
|
||||
constexpr auto kAlignImageBy = 64;
|
||||
constexpr auto kImageFormat = QImage::Format_ARGB32_Premultiplied;
|
||||
constexpr auto kMaxScaleByAspectRatio = 16;
|
||||
constexpr auto kAvioBlockSize = 4096;
|
||||
|
|
|
@ -16,8 +16,10 @@ namespace Clip {
|
|||
namespace internal {
|
||||
namespace {
|
||||
|
||||
constexpr int kSkipInvalidDataPackets = 10;
|
||||
constexpr int kAlignImageBy = 16;
|
||||
constexpr auto kSkipInvalidDataPackets = 10;
|
||||
|
||||
// See https://github.com/telegramdesktop/tdesktop/issues/7225
|
||||
constexpr auto kAlignImageBy = 64;
|
||||
|
||||
void alignedImageBufferCleanupHandler(void *data) {
|
||||
auto buffer = static_cast<uchar*>(data);
|
||||
|
|
Loading…
Reference in New Issue