summaryrefslogtreecommitdiff
path: root/xine/ts2es.c
diff options
context:
space:
mode:
Diffstat (limited to 'xine/ts2es.c')
-rw-r--r--xine/ts2es.c5
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;
}