[MPlayer-cvslog] r35202 - trunk/libmpcodecs/vf_delogo.c

compn tempn at twmi.rr.com
Mon Sep 17 22:16:31 CEST 2012


On Mon, 17 Sep 2012 21:50:29 +0200 (CEST), reimar wrote:
>Modified: trunk/libmpcodecs/vf_delogo.c
>==============================================================================
>--- trunk/libmpcodecs/vf_delogo.c	Mon Sep 17 21:35:25 2012	(r35201)
>+++ trunk/libmpcodecs/vf_delogo.c	Mon Sep 17 21:50:29 2012	(r35202)
>@@ -180,6 +180,7 @@ static void get_image(struct vf_instance
>     if(mpi->flags&MP_IMGFLAG_PRESERVE) return; // don't change
>     if(mpi->imgfmt!=vf->priv->outfmt) return; // colorspace differ
>     // ok, we can do pp in-place (or pp disabled):
>+    mpi->priv =

dont you want it mpi->priv = NULL; or some such ?

E:\mplayer-testclips\mplayer\libmpcodecs>grep -i "priv =" *.c | grep -i mpi

vf_ass.c:    mpi->priv = vf->dmpi = vf_get_image(vf->next, mpi->imgfmt, mpi->type,
vf_ass.c:        mpi->priv = NULL;
vf_filmdint.c:    mpi->priv = p->planes[NUM_STORED + planes_idx];
vf_filmdint.c:    if (mpi->priv == p->old_planes) {
vf_filmdint.c:        mpi->priv = 0;
vf_lavfi.c:    buf->buf->priv = mpi;
vf_lavfi.c:    mpi->priv = NULL; /* for safety */
vf_lavfi.c:    mpi->priv = buf;
vf_pullup.c:    mpi->priv = b;
vf_pullup.c:        mpi->priv = 0;
vf_unsharp.c:    mpi->priv =

unsharp seems like the only other filter that does it.
i am just guessing via code and dont know this stuff.

-compn


More information about the MPlayer-cvslog mailing list