Commit 45f7ca3d authored by Ilkka Ollakka's avatar Ilkka Ollakka

mp4: require can_fastseek for mp4-demuxer

As it works fine over http if mp4-files are done with mp4box -tight or similar way,
in most cases mp4-files aren't done like that and avformat works much better in those
cases (don't need to seek so much).
parent 86cf130e
......@@ -302,10 +302,10 @@ static int Open( vlc_object_t * p_this )
/* I need to seek */
stream_Control( p_demux->s, STREAM_CAN_SEEK, &b_seekable );
stream_Control( p_demux->s, STREAM_CAN_FASTSEEK, &b_seekable );
if( !b_seekable )
msg_Warn( p_demux, "MP4 plugin discarded (unseekable)" );
msg_Warn( p_demux, "MP4 plugin discarded (not fastseekable)" );
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment