changeset 7709:a164381ae537

setting the keyframe flag for every audio chunks, fixes streamcopy'd ac3 on windows
author arpi
date Thu, 10 Oct 2002 21:04:42 +0000
parents c1e8287f9574
children c97a06ff84cf
files mencoder.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mencoder.c	Thu Oct 10 14:17:59 2002 +0000
+++ b/mencoder.c	Thu Oct 10 21:04:42 2002 +0000
@@ -930,7 +930,7 @@
 	    }
 	}
 	if(len<=0) break; // EOF?
-	aviwrite_write_chunk(muxer,mux_a,muxer_f,len,0);
+	aviwrite_write_chunk(muxer,mux_a,muxer_f,len,0x10);
 	if(!mux_a->h.dwSampleSize && mux_a->timer>0)
 	    mux_a->wf->nAvgBytesPerSec=0.5f+(double)mux_a->size/mux_a->timer; // avg bps (VBR)
 	if(mux_a->buffer_len>=len){