[FFmpeg-devel] [PATCH 17/19] avformat/hls: open playlists immediately when AVDISCARD_ALL is dropped

Michael Niedermayer michaelni at gmx.at
Sat Jan 4 23:39:54 CET 2014


On Fri, Jan 03, 2014 at 04:21:41PM +0200, Anssi Hannula wrote:
> 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.
> 
> This will reduce issues experienced in ticket #2737.
> 
> Signed-off-by: Anssi Hannula <anssi.hannula at iki.fi>

LGTM

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

If you think the mosad wants you dead since a long time then you are either
wrong or dead since a long time.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140104/c3d0e623/attachment.asc>


More information about the ffmpeg-devel mailing list