changeset 3362:fbf018a059e1

ehh. frame skipping fixed for -ovc frameno
author arpi
date Fri, 07 Dec 2001 00:11:12 +0000
parents 5d70491f438c
children 1459912caea5
files mencoder.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mencoder.c	Thu Dec 06 23:59:46 2001 +0000
+++ b/mencoder.c	Fri Dec 07 00:11:12 2001 +0000
@@ -782,7 +782,7 @@
     break;
 case VCODEC_FRAMENO:
     mux_v->buffer=&decoded_frameno; // tricky
-    aviwrite_write_chunk(muxer,mux_v,muxer_f,sizeof(int),0);
+    if(skip_flag<=0) aviwrite_write_chunk(muxer,mux_v,muxer_f,sizeof(int),0);
     break;
 case VCODEC_DIVX4:
     blit_frame=decode_video(&video_out,sh_video,start,in_size,0);