Skip to content

Commit

Permalink
Add some comment
Browse files Browse the repository at this point in the history
  • Loading branch information
eisneinechse committed Jul 9, 2020
1 parent cba4af3 commit f69aa41
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/FFmpegWriter.cpp
Expand Up @@ -344,6 +344,8 @@ void FFmpegWriter::SetOption(StreamType stream, std::string name, std::string va
if (c) {
if (info.interlaced_frame) {
c->field_order = info.top_field_first ? AV_FIELD_TT : AV_FIELD_BB;
// We only use these two version and ignore AV_FIELD_TB and AV_FIELD_BT
// Otherwise we would need to change the whole export window
}
}
} else if (info.has_audio && stream == AUDIO_STREAM && audio_st) {
Expand Down

0 comments on commit f69aa41

Please sign in to comment.