Commit Graph

48 Commits

Author SHA1 Message Date
John Preston 6f9a540a61 Fix crash when libvpx decoder is absent.
Fixes #26849.
2023-09-25 12:41:34 +04:00
Ilya Fedin 1bde096417 Minimize amount of code to rebuild when switching options 2023-09-22 09:14:01 +04:00
Ilya Fedin df29af5aea CentOS 7 -> Rocky Linux 8 2023-09-20 22:32:35 +04:00
Ilya Fedin 48206bcf95 Re-use base_linux_library 2023-08-29 08:08:03 +02:00
John Preston 2e6abf0bed Version 4.9: Fix build with GCC. 2023-08-15 00:33:18 +02:00
Ilya Fedin 404ce2e011 Add check for vaapi/vdpau libraries before loading them with implib 2023-08-10 19:54:52 +04:00
John Preston b71d72ca7c Allow showing stories in different contexts. 2023-07-20 07:20:10 +04:00
John Preston 9c74c04738 Implement audio speed using libavfilter. 2023-03-08 16:10:36 +04:00
Ilya Fedin 2181422d5f Fix build with ffmpeg 5.0 2023-02-26 13:27:17 +04:00
John Preston 01d6cacee5 Version 4.6.5: Fix build with FFmpeg 5.1. 2023-02-25 17:56:16 +04:00
John Preston 7a090610b9 Upgrade FFmpeg to 5.1 on macOS.
In this version videos play fine with hardware acceleration enabled.
2023-02-25 16:57:06 +04:00
23rd 2acedca6b7 Replaced some qstr with u""_q literal. 2022-11-29 14:12:50 +03:00
John Preston ab25cf214c Fix FFmpeg frame generator ending. 2022-09-08 09:50:11 +04:00
John Preston d6ba092697 Make GIFs and videos with captions larger. 2022-09-05 19:03:52 +04:00
Alexander Kernozhitsky a5bd4ef6f7 Fix code style 2022-09-04 08:04:02 +04:00
Alexander Kernozhitsky c6c2a44e9d Patch the remaining uses or FFmpeg APIs 2022-09-04 08:04:02 +04:00
John Preston 85acf051c1 Try to fix build with GCC. 2022-09-03 06:51:02 +04:00
John Preston ed3f246510 Use FrameGenerator-based AnimatedIcon for reactions. 2022-09-02 21:14:32 +04:00
Joe Kappus f82089cbfe Fix build with GCC 12. 2022-08-13 14:18:13 +04:00
John Preston b14b69272a Fix build with GCC. 2022-07-26 20:12:12 +03:00
John Preston a7e295ae64 Fix build with Xcode. 2022-07-26 20:12:10 +03:00
John Preston 4127b68675 Fix non-square video-emoji. 2022-07-26 20:12:09 +03:00
John Preston c4dd45689d Use src/dst prefixes instead of from/to. 2022-07-26 20:12:08 +03:00
John Preston 3c01bb5a4a Add support for static and webm custom emoji. 2022-07-26 20:12:08 +03:00
John Preston bfe47a1ba2 Clear hw_device_ctx in AVCodecContext. 2022-04-19 09:39:01 +04:00
John Preston 9933d1ff3a Try CUDA hardware decoding on Linux. 2022-04-11 12:58:59 +04:00
John Preston ea30918d35 Fix build with GCC. 2022-04-07 18:28:58 +04:00
John Preston 27d9f78566 Enforce our own hardware acceleration attempts order. 2022-03-30 14:59:54 +04:00
John Preston e8748986bf Fix fallback to software decoding in FFmpeg. 2022-03-30 12:22:50 +04:00
John Preston 0dca556843 Use FFmpeg hardware acceleration in media viewer / PiP. 2022-03-23 10:03:38 +04:00
Nicholas Guriev 436622ad7c Fix build against FFmpeg v5.0
It has been released on January 17th. This patch keeps source compatibility
with older versions.
2022-02-28 20:22:18 +03:00
John Preston 91c84d63de Force libvpx_vp9 decoder for VP9 videos.
Webm stickers depend on decoder support for alpha channel.
2022-01-28 19:10:07 +03:00
Ilya Fedin 847c01d605 Add Qt 6 support
Tested only on Linux so far
2021-10-21 13:15:00 +04:00
John Preston 49f71f4e1e Use av_packet_alloc instead of av_init_packet. 2021-05-26 22:53:54 +04:00
John Preston 547251f67c Fix deprecation warnings when building with FFmpeg 4.2. 2020-11-06 11:21:34 +03:00
John Preston 8b96f4c214 Move Media::Clip::Reader and FileLocation to td_ui. 2020-10-30 18:32:18 +03:00
John Preston 361b99b0c9 Use threaded decoding in ffmpeg streaming. 2020-07-28 20:14:45 +04:00
John Preston 775d5b6dcc Use 64 byte alignment for ffmpeg frames.
Fixes #7225.
2020-02-17 16:44:08 +04:00
John Preston f1877641e5 Closed alpha version 1.9.1.8: Fix macOS build. 2019-12-06 14:22:46 +03:00
RadRussianRus a196b0aba7 Fixed animated stickers cache 2019-11-11 19:46:33 +03:00
John Preston 467be135d6 Fix build in macOS. 2019-10-20 15:24:09 +04:00
John Preston 3ae7f9f93d Fix color conversion for Qt 5.12.5. 2019-10-20 13:00:36 +04:00
John Preston 01936b5f1b Build with Qt 5.12.5 and OpenSSL 1.1.1. 2019-10-19 12:27:56 +04:00
John Preston 0710dde4d5 Use private Qt color API only in official build.
Fixes #6219.
2019-07-09 13:43:57 +02:00
John Preston ae075e9b90 Beta version 1.7.12: Fix build for old OS X. 2019-07-05 23:13:31 +02:00
John Preston 556f36ba7e Fix transparent animated GIFs. 2019-07-04 13:12:58 +02:00
John Preston 5628c1eee6 Encode cached frames to YUV420P. 2019-07-01 17:57:36 +02:00
John Preston 56e137b20f Move some common code to lib_ffmpeg. 2019-07-01 17:57:35 +02:00