summaryrefslogtreecommitdiff
path: root/src/xine-engine/video_out.c
diff options
context:
space:
mode:
authorGuenter Bartsch <guenter@users.sourceforge.net>2001-06-10 01:26:45 +0000
committerGuenter Bartsch <guenter@users.sourceforge.net>2001-06-10 01:26:45 +0000
commit6dbdb2dfbd779d3c12ad4ac0dcd1d4a01bff6b5f (patch)
tree9760c73eeddda00dd6374a0baf642442e4c4c44d /src/xine-engine/video_out.c
parent1ac3f116d15dfa60eec773fca307ecb319aaff3b (diff)
downloadxine-lib-6dbdb2dfbd779d3c12ad4ac0dcd1d4a01bff6b5f.tar.gz
xine-lib-6dbdb2dfbd779d3c12ad4ac0dcd1d4a01bff6b5f.tar.bz2
XShm driver (partially) working)
CVS patchset: 147 CVS date: 2001/06/10 01:26:45
Diffstat (limited to 'src/xine-engine/video_out.c')
-rw-r--r--src/xine-engine/video_out.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xine-engine/video_out.c b/src/xine-engine/video_out.c
index 4f363fc7d..833446e7d 100644
--- a/src/xine-engine/video_out.c
+++ b/src/xine-engine/video_out.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: video_out.c,v 1.14 2001/06/09 18:40:41 guenter Exp $
+ * $Id: video_out.c,v 1.15 2001/06/10 01:26:46 guenter Exp $
*
*/
@@ -382,7 +382,7 @@ static int vo_frame_draw (vo_frame_t *img) {
cur_vpts = this->metronom->get_current_time(this->metronom);
diff = pic_vpts - cur_vpts;
- frames_to_skip = (-1 * diff) / this->pts_per_frame + 1;
+ frames_to_skip = ((-1 * diff) / this->pts_per_frame + 1) * 2;
xprintf (VERBOSE|VIDEO,"video_out:: delivery diff : %d\n",diff);