X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=nageru%2Fffmpeg_capture.h;h=fc584827a373e791ae85123a3a58de3d553b72c7;hb=84e8b42b69804464ffb978ea4a2d0b700fe17d89;hp=1fcd82b10d9182ad6e57f63ad53e714f5900623b;hpb=734a8b9f5d2baaadc3762b4abd25032898a2653b;p=nageru diff --git a/nageru/ffmpeg_capture.h b/nageru/ffmpeg_capture.h index 1fcd82b..fc58482 100644 --- a/nageru/ffmpeg_capture.h +++ b/nageru/ffmpeg_capture.h @@ -38,6 +38,7 @@ extern "C" { #include +#include #include #include #include @@ -330,7 +331,7 @@ private: // Audio resampler. SwrContext *resampler = nullptr; AVSampleFormat last_src_format, last_dst_format; - int64_t last_channel_layout; + AVChannelLayout last_channel_layout; int last_sample_rate; // Subtitles (no decoding done, really).