[vlc-commits] MKV: workaround the seeking-to-0 issue also on android

Sébastien Toque git at videolan.org
Fri Aug 10 16:12:19 CEST 2012


vlc | branch: master | Sébastien Toque <xilasz at gmail.com> | Tue Aug  7 16:28:03 2012 +0200| [df2ac7362d5e412cb5d393560a2be5b88abfeea0] | committer: Jean-Baptiste Kempf

MKV: workaround the seeking-to-0 issue also on android

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=df2ac7362d5e412cb5d393560a2be5b88abfeea0
---

 modules/demux/mkv/matroska_segment.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/demux/mkv/matroska_segment.cpp b/modules/demux/mkv/matroska_segment.cpp
index 581e0ea..01c6e2d 100644
--- a/modules/demux/mkv/matroska_segment.cpp
+++ b/modules/demux/mkv/matroska_segment.cpp
@@ -732,7 +732,7 @@ void matroska_segment_c::Seek( mtime_t i_date, mtime_t i_time_offset, int64_t i_
         }
     }
 
-#ifndef WIN32
+#if !defined(WIN32) && !defined(__ANDROID__)
     /* Don't try complex seek if we seek to 0 */
     if( i_date == 0 )
     {



More information about the vlc-commits mailing list