changeset 17908:dcfaebcdde14

10l (forgot ...)
author michael
date Tue, 21 Mar 2006 22:31:49 +0000
parents d8a6e0c22f0c
children f7048eaffa85
files libmenu/vf_menu.c
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/libmenu/vf_menu.c	Tue Mar 21 22:12:48 2006 +0000
+++ b/libmenu/vf_menu.c	Tue Mar 21 22:31:49 2006 +0000
@@ -37,7 +37,7 @@
   menu_t* current;
 };
 
-static int put_image(struct vf_instance_s* vf, mp_image_t *mpi);
+static int put_image(struct vf_instance_s* vf, mp_image_t *mpi, double pts);
 
 static mp_image_t* alloc_mpi(int w, int h, uint32_t fmt) {
   mp_image_t* mpi = new_mp_image(w,h);
@@ -76,7 +76,7 @@
 
 void vf_menu_pause_update(struct vf_instance_s* vf) {
   if(pause_mpi) {
-    put_image(vf,pause_mpi);
+    put_image(vf,pause_mpi, MP_NOPTS_VALUE);
     // Don't draw the osd atm
     //vf->control(vf,VFCTRL_DRAW_OSD,NULL);
     video_out->flip_page();
@@ -169,7 +169,7 @@
 
 
 
-static int put_image(struct vf_instance_s* vf, mp_image_t *mpi){
+static int put_image(struct vf_instance_s* vf, mp_image_t *mpi, double pts){
   mp_image_t *dmpi = NULL;
 
   if(vf->priv->current->show 
@@ -231,7 +231,7 @@
     dmpi->planes[2] = mpi->planes[2];
     dmpi->priv      = mpi->priv;
   }
-  return vf_next_put_image(vf,dmpi);
+  return vf_next_put_image(vf,dmpi, pts);
 }
 
 static void uninit(vf_instance_t *vf) {