[Libav-user] pts problem

Steffen Steffen.Roeber at hella.com
Mon Apr 15 11:57:22 CEST 2013


I meanwhile use the following:
        uint64 pts = frame->pkt_pts;
        if(pts == AV_NOPTS_VALUE)
        {
          pts = frame->pts;
          if(pts == AV_NOPTS_VALUE)
          {
            pts = frame->pkt_dts;
          }
        }

That works in my example cases.



--
View this message in context: http://libav-users.943685.n4.nabble.com/Libav-user-pts-problem-tp4657275p4657288.html
Sent from the libav-users mailing list archive at Nabble.com.


More information about the Libav-user mailing list