obs-ffmpeg: Further FFmpeg deprecations fixes for FFmpeg 4.4+
avcodec.h stopped including channel_layout.h per FFmpeg commit
1be3d8a0cb77 [1]. Fixes compilation error on macOS against
FFmpeg later than the mentioned commit.
[1] 1be3d8a0cb
This commit is contained in:
parent
e7837e30ce
commit
d78971b4db
@ -29,6 +29,7 @@
|
||||
#include <util/dstr.h>
|
||||
#include <libavcodec/avcodec.h>
|
||||
#include <libavformat/avformat.h>
|
||||
#include <libavutil/channel_layout.h>
|
||||
|
||||
#define ANSI_COLOR_RED "\x1b[0;91m"
|
||||
#define ANSI_COLOR_MAGENTA "\x1b[0;95m"
|
||||
|
@ -25,6 +25,7 @@
|
||||
#include "obs-ffmpeg-output.h"
|
||||
#include "obs-ffmpeg-formats.h"
|
||||
#include "obs-ffmpeg-compat.h"
|
||||
#include <libavutil/channel_layout.h>
|
||||
|
||||
struct ffmpeg_output {
|
||||
obs_output_t *output;
|
||||
|
Loading…
x
Reference in New Issue
Block a user