summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJulian Scheel <julian@jusst.de>2010-01-12 21:34:01 +0100
committerJulian Scheel <julian@jusst.de>2010-01-12 21:34:01 +0100
commitf95b2adaeccea14060f232d4f9e67dd25eb1801e (patch)
treebaca81cc2288fe5dd36901f320e98105e1dfebd2 /src
parente066b69435f814b48e7646c75e3db4b726bf5cf6 (diff)
downloadxine-lib-f95b2adaeccea14060f232d4f9e67dd25eb1801e.tar.gz
xine-lib-f95b2adaeccea14060f232d4f9e67dd25eb1801e.tar.bz2
fix a/v sync
send the pts to the decoders, even if the pes packet is just a continuation packet
Diffstat (limited to 'src')
-rw-r--r--src/demuxers/demux_ts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/demuxers/demux_ts.c b/src/demuxers/demux_ts.c
index 9053db60d..8213ceedf 100644
--- a/src/demuxers/demux_ts.c
+++ b/src/demuxers/demux_ts.c
@@ -1014,7 +1014,7 @@ static void demux_ts_buffer_pes(demux_ts_t*this, unsigned char *ts,
m->buf->content = m->buf->mem;
m->buf->size = m->buffered_bytes;
m->buf->type = m->type;
- m->buf->pts = 0; /* m->pts */
+ m->buf->pts = m->pts;
m->buf->decoder_info[0] = 1;
if( this->input->get_length (this->input) )
m->buf->extra_info->input_normpos = (int)( (double) this->input->get_current_pos (this->input) *