summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xine/demux_xvdr.c3
1 files changed, 1 insertions, 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;
}
}