Mercurial > mplayer.hg
changeset 34877:d7adf9d28abd
expand: handle NUMBERED mp_image type correctly.
author | reimar |
---|---|
date | Wed, 23 May 2012 19:51:54 +0000 |
parents | c5f89bf5b952 |
children | 3e6cfa2053bf |
files | libmpcodecs/vf_expand.c |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpcodecs/vf_expand.c Wed May 23 19:28:03 2012 +0000 +++ b/libmpcodecs/vf_expand.c Wed May 23 19:51:54 2012 +0000 @@ -415,6 +415,7 @@ 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);