aboutsummaryrefslogtreecommitdiffhomepage
path: root/libmenu
diff options
context:
space:
mode:
authorGravatar michael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-03-21 22:31:49 +0000
committerGravatar michael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-03-21 22:31:49 +0000
commit35b0fb5056175dc548a994b8415c3f50b867228b (patch)
treea20cde66fb0a8bc49aad139a14f49145a7115366 /libmenu
parent565af71e4f3bc346dc8ade02d1965e51829b4462 (diff)
10l (forgot ...)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17909 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmenu')
-rw-r--r--libmenu/vf_menu.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libmenu/vf_menu.c b/libmenu/vf_menu.c
index d7da845252..75203fcfdd 100644
--- a/libmenu/vf_menu.c
+++ b/libmenu/vf_menu.c
@@ -37,7 +37,7 @@ struct vf_priv_s {
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 @@ static mp_image_t* alloc_mpi(int w, int h, uint32_t fmt) {
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 @@ inline static void copy_mpi(mp_image_t *dmpi, mp_image_t *mpi) {
-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 @@ static int put_image(struct vf_instance_s* vf, mp_image_t *mpi){
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) {