Mercurial > mplayer.hg
comparison mencoder.c @ 3363:1459912caea5
set all frames to keyframes for -ovc frameno - allow seeking in resulting audio-only avi
author | arpi |
---|---|
date | Fri, 07 Dec 2001 00:12:51 +0000 |
parents | fbf018a059e1 |
children | 4723f6fd750a |
comparison
equal
deleted
inserted
replaced
3362:fbf018a059e1 | 3363:1459912caea5 |
---|---|
780 mux_v->buffer=start; | 780 mux_v->buffer=start; |
781 if(skip_flag<=0) aviwrite_write_chunk(muxer,mux_v,muxer_f,in_size,(sh_video->ds->flags&1)?0x10:0); | 781 if(skip_flag<=0) aviwrite_write_chunk(muxer,mux_v,muxer_f,in_size,(sh_video->ds->flags&1)?0x10:0); |
782 break; | 782 break; |
783 case VCODEC_FRAMENO: | 783 case VCODEC_FRAMENO: |
784 mux_v->buffer=&decoded_frameno; // tricky | 784 mux_v->buffer=&decoded_frameno; // tricky |
785 if(skip_flag<=0) aviwrite_write_chunk(muxer,mux_v,muxer_f,sizeof(int),0); | 785 if(skip_flag<=0) aviwrite_write_chunk(muxer,mux_v,muxer_f,sizeof(int),0x10); |
786 break; | 786 break; |
787 case VCODEC_DIVX4: | 787 case VCODEC_DIVX4: |
788 blit_frame=decode_video(&video_out,sh_video,start,in_size,0); | 788 blit_frame=decode_video(&video_out,sh_video,start,in_size,0); |
789 if(skip_flag>0) break; | 789 if(skip_flag>0) break; |
790 if(!blit_frame){ | 790 if(!blit_frame){ |