Commit dad54e4a authored by Michael Niedermayer's avatar Michael Niedermayer

ffmpeg: set dts for subtitles

dts is not optional, its required for muxing,
previously it was set from AVStream.pts
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 87f5ede6
......@@ -837,6 +837,7 @@ static void do_subtitle_out(AVFormatContext *s,
else
pkt.pts += 90 * sub->end_display_time;
}
pkt.dts = pkt.pts;
write_frame(s, &pkt, ost);
}
}
......
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