aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/motion_vector.h
diff options
context:
space:
mode:
authorNoHalfBits <ffmpeg-devel@fluthaus.com>2021-09-26 14:47:52 +0200
committerRick Kern <kernrj@gmail.com>2021-09-27 07:06:06 -0400
commitb786bc7433dfe082441a57c1ba9ae9ea47904b78 (patch)
treed097d05063336c83fda8a3993e3cd28a14c654ae /libavutil/motion_vector.h
parent90546c6ca70ee2316f3d7f0a860297a3d0978b79 (diff)
downloadffmpeg-b786bc7433dfe082441a57c1ba9ae9ea47904b78.tar.gz
avcodec/videotoolboxenc: Fixes non-B-Frame encoding
Sets vtctx->has_b_frames to 0 if the VideoToolbox compression session will not emit B-frames (and, in consequence, no valid DTSs). Required for the handling of invalid DTSs in 'vtenc_cm_to_avpacket' (line 2018ff) to work correctly and not abort encoding with "DTS is invalid." when no B-frames are generated. Signed-off-by: NoHalfBits <ffmpeg-devel@fluthaus.com> Signed-off-by: Rick Kern <kernrj@gmail.com>
Diffstat (limited to 'libavutil/motion_vector.h')
0 files changed, 0 insertions, 0 deletions