Mercurial > mplayer.hg
comparison mencoder.c @ 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 | 55f894f3e09d |
children | f71bc57c4da9 |
comparison
equal
deleted
inserted
replaced
7708:c1e8287f9574 | 7709:a164381ae537 |
---|---|
928 break; | 928 break; |
929 #endif | 929 #endif |
930 } | 930 } |
931 } | 931 } |
932 if(len<=0) break; // EOF? | 932 if(len<=0) break; // EOF? |
933 aviwrite_write_chunk(muxer,mux_a,muxer_f,len,0); | 933 aviwrite_write_chunk(muxer,mux_a,muxer_f,len,0x10); |
934 if(!mux_a->h.dwSampleSize && mux_a->timer>0) | 934 if(!mux_a->h.dwSampleSize && mux_a->timer>0) |
935 mux_a->wf->nAvgBytesPerSec=0.5f+(double)mux_a->size/mux_a->timer; // avg bps (VBR) | 935 mux_a->wf->nAvgBytesPerSec=0.5f+(double)mux_a->size/mux_a->timer; // avg bps (VBR) |
936 if(mux_a->buffer_len>=len){ | 936 if(mux_a->buffer_len>=len){ |
937 mux_a->buffer_len-=len; | 937 mux_a->buffer_len-=len; |
938 memcpy(mux_a->buffer,mux_a->buffer+len,mux_a->buffer_len); | 938 memcpy(mux_a->buffer,mux_a->buffer+len,mux_a->buffer_len); |