Only use frame.pts, frame.pkt_pts is obsolete.
Also stop detecting the presence of av_frame_get_best_effort_timestamp, it's guaranteed to be present now that we require ffmpeg >= 3.0. Not that we use it anyway..
Only use frame.pts, frame.pkt_pts is obsolete.
Also stop detecting the presence of av_frame_get_best_effort_timestamp, it's guaranteed to be present now that we require ffmpeg >= 3.0. Not that we use it anyway..