Commit 51dc103a authored by michael's avatar michael

Fill missing pts in during muxing when we know that they are equal to dts.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@13970 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 40facee4
......@@ -2445,6 +2445,9 @@ static int compute_pkt_fields2(AVStream *st, AVPacket *pkt){
}
}
if(pkt->pts == AV_NOPTS_VALUE && pkt->dts != AV_NOPTS_VALUE && delay==0)
pkt->pts= pkt->dts;
//XXX/FIXME this is a temporary hack until all encoders output pts
if((pkt->pts == 0 || pkt->pts == AV_NOPTS_VALUE) && pkt->dts == AV_NOPTS_VALUE && !delay){
pkt->dts=
......
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