[MPlayer-cvslog] r19393 - trunk/mencoder.c
reimar
subversion at mplayerhq.hu
Mon Aug 14 16:24:17 CEST 2006
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
if(sh_video && sh_video->vfilter){
mp_msg(MSGT_MENCODER, MSGL_INFO, "\nFlushing video frames\n");
((vf_instance_t *)sh_video->vfilter)->control(sh_video->vfilter,
More information about the MPlayer-cvslog
mailing list