summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichael Roitzsch <mroi@users.sourceforge.net>2002-09-04 10:44:44 +0000
committerMichael Roitzsch <mroi@users.sourceforge.net>2002-09-04 10:44:44 +0000
commit49caa442093887cc608ee94218f4f23cbc8b6bf6 (patch)
tree399c5c477b53d1d787efa1c1b6d4011e94b291b3 /src
parent38a6831c6e63eb6b6fb8234ddcafc7a814cdfaf6 (diff)
downloadxine-lib-49caa442093887cc608ee94218f4f23cbc8b6bf6.tar.gz
xine-lib-49caa442093887cc608ee94218f4f23cbc8b6bf6.tar.bz2
fix seeking bug (thanks to Thibaut Mattern)
CVS patchset: 2600 CVS date: 2002/09/04 10:44:44
Diffstat (limited to 'src')
-rw-r--r--src/demuxers/demux_mpeg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/demuxers/demux_mpeg.c b/src/demuxers/demux_mpeg.c
index ae37831f2..aec9789ae 100644
--- a/src/demuxers/demux_mpeg.c
+++ b/src/demuxers/demux_mpeg.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: demux_mpeg.c,v 1.72 2002/08/25 00:29:49 tmattern Exp $
+ * $Id: demux_mpeg.c,v 1.73 2002/09/04 10:44:44 mroi Exp $
*
* demultiplexer for mpeg 1/2 program streams
* reads streams of variable blocksizes
@@ -235,7 +235,7 @@ static void check_newpts( demux_mpeg_t *this, int64_t pts, int video )
diff = pts - this->last_pts[video];
- if( !this->preview_mode && (pts || this->buf_flag_seek) &&
+ if( !this->preview_mode && pts &&
(this->send_newpts || (this->last_pts[video] && abs(diff)>WRAP_THRESHOLD) ) ) {
if (this->buf_flag_seek) {