aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/frame_thread_encoder.c
diff options
context:
space:
mode:
authorAnssi Hannula <anssi.hannula@iki.fi>2013-12-30 11:27:36 +0200
committerAnssi Hannula <anssi.hannula@iki.fi>2014-04-06 17:55:03 +0300
commit4e85202bcc26b09f45d358da8f4d43aca0d27c0e (patch)
treed774baad4720ebc66655317b77819d4612977a90 /libavcodec/frame_thread_encoder.c
parent61e1a702783cafb4d8a4705424f3a2357b81c3c8 (diff)
downloadffmpeg-4e85202bcc26b09f45d358da8f4d43aca0d27c0e.tar.gz
avformat/hls: improve segment selection when restarting list reception
Improve selection of the segment sequence number when restarting the reception of a playlist after it was suspended due to being unneeded (due to discard flags). The current code assumes that each playlist contains matching data with the same sequence number, while spec 3.4.3 specifically says that that is not the case. Often subtitle playlists also have longer target durations as well, causing the selection to be completely wrong. Instead prefer using the playlist segment duration information for non-live playlists, and other means if that is not possible. Signed-off-by: Anssi Hannula <anssi.hannula@iki.fi>
Diffstat (limited to 'libavcodec/frame_thread_encoder.c')
0 files changed, 0 insertions, 0 deletions