diff options
author | James Almer <jamrial@gmail.com> | 2024-11-16 17:46:17 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2024-11-24 20:14:11 -0300 |
commit | 23a1c021f299655d66bcfbd69ed0d6780f68c6fc (patch) | |
tree | 6d10babde1d0609ab1f82aac1072dbfeb972c91f | |
parent | 4e6d31755bf8d0355418d19725ee947e6c0536c0 (diff) | |
download | ffmpeg-23a1c021f299655d66bcfbd69ed0d6780f68c6fc.tar.gz |
avformat/movenc: write stss boxes for xHE-AAC
This is in preparation for a following change.
Signed-off-by: James Almer <jamrial@gmail.com>
-rw-r--r-- | libavformat/movenc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/movenc.c b/libavformat/movenc.c index da67bb3762..010d2afa13 100644 --- a/libavformat/movenc.c +++ b/libavformat/movenc.c @@ -3204,6 +3204,7 @@ static int mov_write_stbl_tag(AVFormatContext *s, AVIOContext *pb, MOVMuxContext if ((track->par->codec_type == AVMEDIA_TYPE_VIDEO || track->par->codec_id == AV_CODEC_ID_TRUEHD || track->par->codec_id == AV_CODEC_ID_MPEGH_3D_AUDIO || + (track->par->codec_id == AV_CODEC_ID_AAC && track->par->profile == AV_PROFILE_AAC_USAC) || track->par->codec_tag == MKTAG('r','t','p',' ')) && track->has_keyframes && track->has_keyframes < track->entry) mov_write_stss_tag(pb, track, MOV_SYNC_SAMPLE); |