From fb9bbb3385cf5e1bb5027ae7d6d257b9019130ca Mon Sep 17 00:00:00 2001 From: "benjamin.drung@gmail.com" Date: Fri, 23 May 2014 20:41:14 +0000 Subject: [PATCH] no timestamps are being input in the encoder, thus don't output any this fixes muxing to libvorbis, and possibly others Signed-off-by: Michael Niedermayer Signed-off-by: Benjamin Drung --- src/export/ExportFFmpeg.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/export/ExportFFmpeg.cpp b/src/export/ExportFFmpeg.cpp index 659ac088d..118280cb4 100644 --- a/src/export/ExportFFmpeg.cpp +++ b/src/export/ExportFFmpeg.cpp @@ -578,6 +578,7 @@ static int encode_audio(AVCodecContext *avctx, AVPacket *pkt, int nFifoBytes, in return ret; } + pkt->dts = pkt->pts = AV_NOPTS_VALUE; // we dont set frame.pts thus dont trust the AVPacket ts av_frame_free(&frame); av_freep(&samples);