[vlc-commits] commit: Nuv: don't reject files with no or broken seektable ( Jean-Baptiste Kempf )
git at videolan.org
git at videolan.org
Sun Mar 28 23:02:03 CEST 2010
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sun Mar 28 21:56:13 2010 +0200| [fe323b80700dbe2643bbde0da8391a6d046f156e] | committer: Jean-Baptiste Kempf
Nuv: don't reject files with no or broken seektable
Just deactivate proper seeking
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=fe323b80700dbe2643bbde0da8391a6d046f156e
---
modules/demux/nuv.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/modules/demux/nuv.c b/modules/demux/nuv.c
index 7328f7e..3fbcfa5 100644
--- a/modules/demux/nuv.c
+++ b/modules/demux/nuv.c
@@ -283,8 +283,10 @@ static int Open( vlc_object_t * p_this )
if( !p_sys->b_seekable )
msg_Warn( p_demux, "stream is not seekable, skipping seektable" );
else if( SeekTableLoad( p_demux, p_sys ) )
- goto error;
-
+ {
+ p_sys->b_index = false;
+ msg_Warn( p_demux, "Seektable is broken, seek won't be accurate" );
+ }
}
else
{
More information about the vlc-commits
mailing list