Change #272160
| Category | ffmpeg |
| Changed by | Stefan Breunig <stefan-ffmpeg-devel@breunig.xyz> |
| Changed at | Tue 23 Jun 2026 02:04:42 |
| Repository | https://git.ffmpeg.org/ffmpeg.git |
| Project | ffmpeg |
| Branch | master |
| Revision | ea3d417d90e6a8de408701aeb57aad63d5cd70f5 |
Comments
avformat/hlsplaylist: fix byte offsets for single_file+iframes_only fix ticket: 8636 video_keyframe_size and video_keyframe_pos tracked the end of the previous P/B frame. In the case of I-frame only videos, this would result in byteoffsets always being 0@0 in the case of fmp4. For mpegts, the size would be correct but the pos still always be @0. Since size and pos already correctly track the start of a segment, we can re-use them even in I-frame only mode.
Changed files
- libavformat/dashenc.c
- libavformat/hlsenc.c
- libavformat/hlsplaylist.c
- libavformat/hlsplaylist.h