[vlc-commits] mkv: fix call to ES_OUT_SET_NEXT_DISPLAY_TIME
Rémi Denis-Courmont
git at videolan.org
Tue Oct 30 17:32:19 CET 2012
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Oct 30 18:31:35 2012 +0200| [9002730fbd83123aae1f69f162e4275f595f9f9e] | committer: Rémi Denis-Courmont
mkv: fix call to ES_OUT_SET_NEXT_DISPLAY_TIME
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=9002730fbd83123aae1f69f162e4275f595f9f9e
---
modules/demux/mkv/matroska_segment.cpp | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/modules/demux/mkv/matroska_segment.cpp b/modules/demux/mkv/matroska_segment.cpp
index 9d0fb30..b574de9 100644
--- a/modules/demux/mkv/matroska_segment.cpp
+++ b/modules/demux/mkv/matroska_segment.cpp
@@ -830,12 +830,11 @@ void matroska_segment_c::Seek( mtime_t i_date, mtime_t i_time_offset, int64_t i_
}
}
-#if !defined(WIN32) && !defined(__ANDROID__) && !defined(__APPLE__) && \
- !defined(__OS2__)
/* Don't try complex seek if we seek to 0 */
if( i_date == 0 && i_time_offset == 0 )
{
- es_out_Control( sys.demuxer.out, ES_OUT_SET_NEXT_DISPLAY_TIME, 0 );
+ es_out_Control( sys.demuxer.out, ES_OUT_SET_NEXT_DISPLAY_TIME,
+ INT64_C(0) );
es_out_Control( sys.demuxer.out, ES_OUT_SET_PCR, VLC_TS_0 );
es.I_O().setFilePointer( i_start_pos );
@@ -847,7 +846,6 @@ void matroska_segment_c::Seek( mtime_t i_date, mtime_t i_time_offset, int64_t i_
sys.i_pcr = 0;
return;
}
-#endif
int i_idx = 0;
if ( i_index > 0 )
More information about the vlc-commits
mailing list