aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/g726.c
diff options
context:
space:
mode:
authorAnssi Hannula <anssi.hannula@iki.fi>2014-01-03 10:51:55 +0200
committerAnssi Hannula <anssi.hannula@iki.fi>2014-04-06 17:55:04 +0300
commitad701326b43078b907a054c585d7f3308b7f6143 (patch)
tree7d663bb2121adb54b0b41c5337eb79b9783fe81a /libavcodec/g726.c
parent05ce529a596c75276b7cd873614529c9c6407fbc (diff)
downloadffmpeg-ad701326b43078b907a054c585d7f3308b7f6143.tar.gz
avformat/hls: open playlists immediately when AVDISCARD_ALL is dropped
Do not try to delay opening newly required playlists until a segment switch. Applications expect that newly selected undiscarded streams are available immediately, especially with alternative rendition streams (selectable audio/subtitle tracks). One might think that delaying variant stream switch until a segment switch would allow a "seamless" switch without us having to download a specific segment from two different variant playlists. However, that is not the case, since the application would have to keep the previous stream available (undiscarded) until the first packet of the newly selected stream arrives, but by that time the demuxer would have already downloaded the next segment of both variants. Signed-off-by: Anssi Hannula <anssi.hannula@iki.fi>
Diffstat (limited to 'libavcodec/g726.c')
0 files changed, 0 insertions, 0 deletions