diff options
author | John Stebbins <[email protected]> | 2018-06-15 15:31:39 -0700 |
---|---|---|
committer | John Stebbins <[email protected]> | 2018-06-15 15:31:39 -0700 |
commit | 94b71f9a7a37801cfe06a5cb37365a446d875449 (patch) | |
tree | 0650ba861b359bcf13af886830efe4c990a85217 /libhb | |
parent | 7d608377b8d0e40a58edcfbfe62232c0c5b31efe (diff) |
muxavformat: silence mp4 frame size warning
Set samples per frame for audio tracks
Diffstat (limited to 'libhb')
-rw-r--r-- | libhb/muxavformat.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libhb/muxavformat.c b/libhb/muxavformat.c index f92777097..f1053f7ea 100644 --- a/libhb/muxavformat.c +++ b/libhb/muxavformat.c @@ -415,6 +415,7 @@ static int avformatInit( hb_mux_object_t * m ) track->st->codecpar->codec_type = AVMEDIA_TYPE_AUDIO; track->st->codecpar->initial_padding = audio->priv.config.init_delay * audio->config.out.samplerate / 90000; + track->st->codecpar->frame_size = audio->config.out.samples_per_frame; if (job->mux == HB_MUX_AV_MP4) { track->st->time_base.num = 1; |