[MPlayer-cvslog] r35203 - in trunk/libmpcodecs: vf_delogo.c vf_unsharp.c

Ingo Brückl ib at wupperonline.de
Wed Sep 19 21:02:14 CEST 2012


Hi,

for a few days I'm wondering why my GUI always disappears after it has
finished playing although it should stay in idle mode.

> Author: reimar
> Date: Mon Sep 17 22:30:07 2012
> New Revision: 35203

> Log:
> For consistency clear mpi->priv after it was used.

> Modified:
>    trunk/libmpcodecs/vf_delogo.c
>    trunk/libmpcodecs/vf_unsharp.c

> Modified: trunk/libmpcodecs/vf_unsharp.c
> ==============================================================================
> +++ trunk/libmpcodecs/vf_unsharp.c      Mon Sep 17 22:30:07 2012 (r35203)
> @@ -181,6 +181,7 @@ static void get_image( struct vf_instanc
>
>  static int put_image( struct vf_instance *vf, mp_image_t *mpi, double pts) {
>      mp_image_t *dmpi = mpi->priv;
> +    mpi->priv = NULL;
>
>      if( !(mpi->flags & MP_IMGFLAG_DIRECT) )
>          // no DR, so get a new image! hope we'll get DR buffer:

This makes 'mplayer -vf-add unsharp=l7x7:1.7 <file>' crash with SIGSEGV after
the file has been played (applies to '-vf-add delogo' as well).

Ingo


More information about the MPlayer-cvslog mailing list