[MPlayer-cvslog] r34965 - trunk/libmpcodecs/vf_expand.c

reimar subversion at mplayerhq.hu
Wed May 23 21:51:54 CEST 2012


Author: reimar
Date: Wed May 23 21:51:54 2012
New Revision: 34965

Log:
expand: handle NUMBERED mp_image type correctly.

Modified:
   trunk/libmpcodecs/vf_expand.c

Modified: trunk/libmpcodecs/vf_expand.c
==============================================================================
--- trunk/libmpcodecs/vf_expand.c	Wed May 23 21:28:03 2012	(r34964)
+++ trunk/libmpcodecs/vf_expand.c	Wed May 23 21:51:54 2012	(r34965)
@@ -415,6 +415,7 @@ static int put_image(struct vf_instance 
     if(mpi->flags&MP_IMGFLAG_DIRECT || mpi->flags&MP_IMGFLAG_DRAW_CALLBACK){
 	vf->dmpi=mpi->priv;
 	if(!vf->dmpi) { mp_msg(MSGT_VFILTER, MSGL_WARN, MSGTR_MPCODECS_FunWhydowegetNULL); return 0; }
+	vf->dmpi->usage_count--;
 	mpi->priv=NULL;
 #ifdef OSD_SUPPORT
 	if(vf->priv->osd) draw_osd(vf,mpi->w,mpi->h);


More information about the MPlayer-cvslog mailing list