X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;ds=sidebyside;f=futatabi%2Fexport.cpp;h=ca6a5589501be64cdeb57d242b8e82d4cbd4c015;hb=5a95cccfdacb0da1091ad71a1777a3045d7497e4;hp=1b7c59c90ae75f853b1d9eaf6b7f27a190d06996;hpb=e0cb348ca42ae7057f8f5acee92a23e7eb26075f;p=nageru diff --git a/futatabi/export.cpp b/futatabi/export.cpp index 1b7c59c..ca6a558 100644 --- a/futatabi/export.cpp +++ b/futatabi/export.cpp @@ -17,6 +17,7 @@ extern "C" { #include +#include } 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()) {