[vlc-devel] Broken Amazon S3 Streaming
ileoo at videolan.org
Tue Jun 19 08:25:30 CEST 2012
On Mon, Jun 18, 2012 at 09:18:37PM +0200, Francois Cartegnie wrote:
> Okay, you're right, there's already fix in http.c.
> The problem comes from the mp4 demux which queries for FASTSEEK
> /* I need to seek */
> stream_Control( p_demux->s, STREAM_CAN_FASTSEEK, &b_seekable );
> if( !b_seekable )
> msg_Warn( p_demux, "MP4 plugin discarded (not fastseekable)" );
> return VLC_EGENERIC;
> which is always false in http.
> case ACCESS_CAN_FASTSEEK:
> pb_bool = (bool*)va_arg( args, bool* );
> *pb_bool = false;
> Changed from SEEK to FASTSEEK in: 45f7ca3d6cff34b10f2cf314c15fca9066e8ccf8
> Ilkka ?
This sets that we should fallback to avformat mp4 demuxer in http-cases.
Problem was that our mp4 demuxer really wanted to seek around, which
slowed down the playing over http.
"Power corrupts. Absolute power is kind of neat"
-- John Lehman, Secretary of the Navy 1981-1987
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 490 bytes
Desc: not available
More information about the vlc-devel