[MPlayer-cvslog] CVS: main/libmenu vf_menu.c,1.12,1.13

Michael Niedermayer CVS syncmail at mplayerhq.hu
Tue Mar 21 23:31:51 CET 2006


CVS change done by Michael Niedermayer CVS

Update of /cvsroot/mplayer/main/libmenu
In directory mail:/var2/tmp/cvs-serv24283

Modified Files:
	vf_menu.c 
Log Message:
10l (forgot ...)


Index: vf_menu.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmenu/vf_menu.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- vf_menu.c	26 Oct 2005 00:07:43 -0000	1.12
+++ vf_menu.c	21 Mar 2006 22:31:49 -0000	1.13
@@ -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) {




More information about the MPlayer-cvslog mailing list