From 7a4c8ffc6a116f9dbc4a9bb86c0b7ef3575979fb Mon Sep 17 00:00:00 2001 From: phintuka Date: Tue, 17 Jan 2012 13:39:05 +0000 Subject: Improved discontinuity handling --- xine/demux_xvdr.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/xine/demux_xvdr.c b/xine/demux_xvdr.c index abf52d70..41849ba7 100644 --- a/xine/demux_xvdr.c +++ b/xine/demux_xvdr.c @@ -249,11 +249,10 @@ static void check_newpts(demux_xvdr_t *this, buf_element_t *buf, int video ) _x_demux_control_newpts(this->stream, buf->pts, 0); } this->send_newpts = 0; - - this->last_pts[1-video] = 0; } this->last_pts[video] = buf->pts; + this->last_pts[1-video] = buf->pts; } } -- cgit v1.2.3