]> git.sesse.net Git - vlc/blobdiff - modules/demux/mp4/mp4.c
mp4: require can_fastseek for mp4-demuxer
[vlc] / modules / demux / mp4 / mp4.c
index 13b87f04a08f9434251d70eba43953d1a1315553..011e7bff5200c396df81ba971b4954c0ff605bde 100644 (file)
@@ -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)" );
         return VLC_EGENERIC;
     }