Merge commit '0f9eb9165bb7d7982fdedf64f6bcec856f1bedd6'
* commit '0f9eb9165bb7d7982fdedf64f6bcec856f1bedd6': movenc: Include empty tracks in iods when writing fragmented mp4 Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
b96c1cd78b
@ -2427,7 +2427,7 @@ static int mov_write_iods_tag(AVIOContext *pb, MOVMuxContext *mov)
|
||||
int audio_profile = mov->iods_audio_profile;
|
||||
int video_profile = mov->iods_video_profile;
|
||||
for (i = 0; i < mov->nb_streams; i++) {
|
||||
if (mov->tracks[i].entry > 0) {
|
||||
if (mov->tracks[i].entry > 0 || mov->flags & FF_MOV_FLAG_EMPTY_MOOV) {
|
||||
has_audio |= mov->tracks[i].enc->codec_type == AVMEDIA_TYPE_AUDIO;
|
||||
has_video |= mov->tracks[i].enc->codec_type == AVMEDIA_TYPE_VIDEO;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user