# HG changeset patch # User michael # Date 1214418708 0 # Node ID 322e2fb56ce8130104ec6817972d9e013f2dc620 # Parent efcdb01aa0bf4d114aa6d78d0a512a5beb40bd2c Fill missing pts in during muxing when we know that they are equal to dts. diff -r efcdb01aa0bf -r 322e2fb56ce8 utils.c --- a/utils.c Wed Jun 25 18:15:04 2008 +0000 +++ b/utils.c Wed Jun 25 18:31:48 2008 +0000 @@ -2445,6 +2445,9 @@ } } + 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=