[MPlayer-cvslog] r19393 - trunk/mencoder.c

Oded Shimon ods15 at ods15.dyndns.org
Mon Aug 14 17:52:00 CEST 2006


On Mon, Aug 14, 2006 at 04:24:17PM +0200, reimar wrote:
> Author: reimar
> Date: Mon Aug 14 16:24:17 2006
> New Revision: 19393
> 
> Modified:
>    trunk/mencoder.c
> 
> Log:
> Do not call VFCTRL_FLUSH_FRAMES when the filter chain was never configured,
> since that will cause crashes (try with e.g. -ss 99999999999999).
> 
> 
> Modified: trunk/mencoder.c
> ==============================================================================
> --- trunk/mencoder.c	(original)
> +++ trunk/mencoder.c	Mon Aug 14 16:24:17 2006
> @@ -1543,6 +1543,9 @@
>  
>  /* Emit the remaining frames in the video system */
>  /*TODO emit frmaes delayed by decoder lag*/
> +if (!((vf_instance_t *)sh_video->vfilter)->fmt.have_configured) {
> +	mp_msg(MSGT_MENCODER, MSGL_WARN, "\nFilters have not been configured! Empty file?\n");
> +} else

Ahem, are you sure 'vfilter' is non-NULL ? Try -ovc copy ...

- ods15



More information about the MPlayer-cvslog mailing list