avformat/movenc: write stss boxes for xHE-AAC
This is in preparation for a following change. Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
parent
4e6d31755b
commit
23a1c021f2
1 changed files with 1 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue