Upgrade FFmpeg to 5.1 on macOS.

In this version videos play fine with hardware acceleration enabled.
This commit is contained in:
John Preston
2023-02-20 13:45:37 +04:00
parent 4ca6834e03
commit 7a090610b9
6 changed files with 150 additions and 54 deletions

View File

@@ -19,8 +19,11 @@ extern "C" {
#include <libavcodec/avcodec.h>
#include <libavformat/avformat.h>
#include <libswscale/swscale.h>
#include <libavutil/version.h>
} // extern "C"
#define DA_FFMPEG_NEW_CHANNEL_LAYOUT (LIBAVUTIL_VERSION_MAJOR >= 59)
class QImage;
namespace FFmpeg {