Make the ipod format output compatible with non seekable output stream (pipe).#36

This commit is contained in:
emeric
2020-03-04 13:15:39 +01:00
parent d24ee46f8f
commit ffbb07f295
2 changed files with 9 additions and 0 deletions
+7
View File
@@ -162,6 +162,13 @@ Transcoder::start()
args.emplace_back("-f");
args.emplace_back(mediaFileFormat->format);
// Workaround for ipod streams: make it compatible with non seekable output
if (mediaFileFormat->format == "ipod")
{
args.emplace_back("-movflags");
args.emplace_back("frag_keyframe");
}
_outputMimeType = mediaFileFormat->mimeType;
}