X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=nageru%2Fffmpeg_capture.h;h=fc584827a373e791ae85123a3a58de3d553b72c7;hb=9400e0e0e057e5dd2165401d729a500ef476f356;hp=1fcd82b10d9182ad6e57f63ad53e714f5900623b;hpb=22d74c9f49f8602fd33c499a575a3fa605f43dee;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).