[Ffmpeg-cvslog] CVS: ffmpeg ffmpeg.c,1.368,1.369

Michael Niedermayer CVS michael
Mon Feb 13 16:36:16 CET 2006


Update of /cvsroot/ffmpeg/ffmpeg
In directory mail:/var2/tmp/cvs-serv20580

Modified Files:
	ffmpeg.c 
Log Message:
This patch makes output codec keeping input pix_fmt value when using
stream_copy
patch by (Baptiste COUDURIER <baptiste at coudurier.smartjog at com>)


Index: ffmpeg.c
===================================================================
RCS file: /cvsroot/ffmpeg/ffmpeg/ffmpeg.c,v
retrieving revision 1.368
retrieving revision 1.369
diff -u -d -r1.368 -r1.369
--- ffmpeg.c	1 Feb 2006 11:31:33 -0000	1.368
+++ ffmpeg.c	13 Feb 2006 15:36:13 -0000	1.369
@@ -1661,6 +1661,7 @@
                 codec->block_align= icodec->block_align;
                 break;
             case CODEC_TYPE_VIDEO:
+                codec->pix_fmt = icodec->pix_fmt;
                 codec->width = icodec->width;
                 codec->height = icodec->height;
                 codec->has_b_frames = icodec->has_b_frames;





More information about the ffmpeg-cvslog mailing list