]> git.sesse.net Git - nageru/blobdiff - futatabi/export.cpp
Release Nageru and Futatabi 2.2.2.
[nageru] / futatabi / export.cpp
index 1b7c59c90ae75f853b1d9eaf6b7f27a190d06996..ca6a5589501be64cdeb57d242b8e82d4cbd4c015 100644 (file)
@@ -17,6 +17,7 @@
 
 extern "C" {
 #include <libavformat/avformat.h>
+#include <libavutil/channel_layout.h>
 }
 
 using namespace std;
@@ -182,7 +183,7 @@ void export_multitrack_clip(const string &filename, const Clip &clip)
                        }
                }
 
-               FrameReader::Frame frame = readers[first_frame_stream_idx].read_frame(first_frame, /*read_audio=*/true);
+               FrameReader::Frame frame = readers[first_frame_stream_idx].read_frame(first_frame, /*read_video=*/true, /*read_audio=*/true);
 
                // Write audio. (Before video, since that's what we expect on input.)
                if (!frame.audio.empty()) {