[MPlayer-cvslog] CVS: main mencoder.c,1.315,1.316

Diego Biurrun diego at biurrun.de
Sun Oct 23 09:51:02 CEST 2005


On Sun, Oct 23, 2005 at 09:37:57AM +0200, Richard Felker CVS wrote:
> 
> Modified Files:
> 	mencoder.c 
> Log Message:
> honor decoder's/filter's decision to remove frames when using -noskip.
> [ long explanation ]
> --- mencoder.c	23 Oct 2005 07:32:35 -0000	1.315
> +++ mencoder.c	23 Oct 2005 07:37:55 -0000	1.316
> @@ -1300,6 +1300,8 @@
>        badframes++;
>        if(skip_flag<=0){
>  	// unwanted skipping of a frame, what to do?
> +        v_timer_corr-=(float)mux_v->h.dwScale/mux_v->h.dwRate;
> +#if 0
>  	if(skip_limit==0){

Hmm, could you maybe add part of your explanation to the code as a
comment?  I always find large parts of code surrounded by #if 0 quite
confusing.

Diego




More information about the MPlayer-cvslog mailing list