From f95b2adaeccea14060f232d4f9e67dd25eb1801e Mon Sep 17 00:00:00 2001 From: Julian Scheel Date: Tue, 12 Jan 2010 21:34:01 +0100 Subject: fix a/v sync send the pts to the decoders, even if the pes packet is just a continuation packet --- src/demuxers/demux_ts.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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) * -- cgit v1.2.3