id	summary	reporter	owner	description	type	status	priority	component	version	resolution	keywords	cc	blockedby	blocking	reproduced	analyzed
1312	Support multi-threaded resolution change	jyavenard		"Apple provides some samples of HTTP Live Streaming playlist.
In particular, one provides 4 streams at the following bitrates (in bit/s)
stream1 : 200000
stream2 : 311111
stream3 : 484444
stream4 : 37777

http://devimages.apple.com/iphone/samples/bipbop/gear4/prog_index.m3u8

I implemented a HLS player, allowing to switch streams according to the download bandwidth available. Unfortunately, FFmpeg is unable to play the stream generated when a fallback streams is selected.

The samples attached are made of 10s block made from the 4 streams.
bipbopX.ts is the corresponding TS file where X goes from 1 to 4,

bipbopXY.ts is a stream made of 10s of streamX followed by 10s of streamY

bipbopXYZ.ts is a stream made of 10s of streamX, 10s of streamY and 10s of stream Z 
etc...

QuickTime/Safari can play all but VBR streams with stream 1 (eg: bipbop12, bipob21, bipbop1234, bipbop4321)

ffplay only plays the following sequences:
43 and 34... 
All the others fail.

This prevent implementing a HLS player that properly handle change of streams on the fly.

"	enhancement	closed	wish	avcodec	git-master	fixed	h264	tmatth			1	0
