Commit 6c39b3c2 authored by Michael Niedermayer's avatar Michael Niedermayer

ffmpeg: reset dts/pts after decoding the first subpacket

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 53be37e3
......@@ -2047,6 +2047,10 @@ static int output_packet(InputStream *ist,
if (ret < 0)
return ret;
avpkt.dts=
avpkt.pts= AV_NOPTS_VALUE;
// touch data and size only if not EOF
if (pkt) {
if(ist->st->codec->codec_type != AVMEDIA_TYPE_AUDIO)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment