On Fri, 28 Mar 2014 09:17:06 +0100
Harald Schlangmann <[email protected]> wrote:

> On 28.03.2014, at 00:29, wm4 <[email protected]> wrote:
> 
> >> Stephen Dranger wrote that there are certain circumstances where the pts 
> >> is not correct and thus he introduced this get/release buffer workaround 
> >> to always retrieve a correct pts.
> >> 
> >> Can anyone tell me if this is still required? I'd just like to be sure to 
> >> always get the correct pts.
> > 
> > No.
> 
> The correct way to retrieve the pts is av_frame_get_best_effort_timestamp 
> now, correct?

Yes, but it's better to determine it from pkt_pts and pkt_dts, because
best_effort_timestamp doesn't exist on Libav.
_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to