summaryrefslogtreecommitdiff
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorJan Gerber <j@v2v.cc>2013-12-19 20:26:49 +0530
committerMichael Niedermayer <michaelni@gmx.at>2013-12-19 23:43:14 +0100
commit200cfab8c4c21a0494470441bf0e4528f0df41d6 (patch)
tree32269bcf139f4575bb308eae6950c9c7943c5776 /ffmpeg.c
parent8fe06e7ae8ffde7d4b5eef04a20c9faa45f61439 (diff)
remuxing .opus files to .webm codec->delay must be copied too
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index a8167ede3f..6a2ff98780 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -2375,6 +2375,7 @@ static int transcode_init(void)
codec->frame_size = icodec->frame_size;
codec->audio_service_type = icodec->audio_service_type;
codec->block_align = icodec->block_align;
+ codec->delay = icodec->delay;
if((codec->block_align == 1 || codec->block_align == 1152 || codec->block_align == 576) && codec->codec_id == AV_CODEC_ID_MP3)
codec->block_align= 0;
if(codec->codec_id == AV_CODEC_ID_AC3)