<div dir="ltr">I suspend processing, clear all my buffer queues and start reading the file again.  But the first video frame has the timestamp of the last frame to show.  How do I make sure the pVideoFrame pkt_pts and pkt_dts go back to 0?<div>
<br></div><div>I found these</div><div><div><span class="" style="white-space:pre">       </span>file->pVideoCodecCtx->pts_correction_last_dts = 0;</div><div><span class="" style="white-space:pre">   </span>file->pVideoCodecCtx->pts_correction_last_pts = 0;</div>
</div><div><br></div><div>and set them to 0 also when I seek; but the timstamp is still being set wrong.</div><div>I'm on windows, using latest x86 dll build from <a href="http://ffmpeg.zeranoe.com/">http://ffmpeg.zeranoe.com/</a> so I don't have symbols.... and other than setting a breakpoint on the videoframe pkt_dts change, I don't know really what the data is coming from.</div>
</div>