[Libav-user] Replacement for release_buffer
wm4
nfxjfg at googlemail.com
Fri Mar 28 18:54:06 CET 2014
On Fri, 28 Mar 2014 09:17:06 +0100
Harald Schlangmann <harry at gps-laptimer.de> wrote:
> On 28.03.2014, at 00:29, wm4 <nfxjfg at googlemail.com> 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.
More information about the Libav-user
mailing list