diff options
author | phintuka <phintuka> | 2010-07-18 13:18:06 +0000 |
---|---|---|
committer | phintuka <phintuka> | 2010-07-18 13:18:06 +0000 |
commit | ecea62ef6ad96d6540188ce74985c3f3d33a9e73 (patch) | |
tree | 8c3dcadbd5eee3a529ed529f42ad30eb16a3cb97 | |
parent | ee8777da0746ec8fb148cc6f22206f1cc98e7be9 (diff) | |
download | xineliboutput-ecea62ef6ad96d6540188ce74985c3f3d33a9e73.tar.gz xineliboutput-ecea62ef6ad96d6540188ce74985c3f3d33a9e73.tar.bz2 |
ts2es_flush(): clear PTS (frame is bypassing demuxer timestamp checks)
-rw-r--r-- | xine/ts2es.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/xine/ts2es.c b/xine/ts2es.c index 8be02ab7..d994e05b 100644 --- a/xine/ts2es.c +++ b/xine/ts2es.c @@ -4,7 +4,7 @@ * See the main source file 'xineliboutput.c' for copyright information and * how to reach the author. * - * $Id: ts2es.c,v 1.12 2010-05-30 20:21:22 phintuka Exp $ + * $Id: ts2es.c,v 1.13 2010-07-18 13:18:06 phintuka Exp $ * */ @@ -221,6 +221,9 @@ void ts2es_flush(ts2es_t *this) this->buf->decoder_flags |= BUF_FLAG_FRAME_END; + /* clear PTS (frame is bypassing demuxer timestamp checks) */ + this->buf->pts = 0; + this->fifo->put (this->fifo, this->buf); this->buf = NULL; } |