projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2fdd5a6
)
This patch makes output codec keeping input pix_fmt value when using
author
Baptiste Coudurier
<baptiste.coudurier@smartjog.com>
Mon, 13 Feb 2006 15:36:13 +0000
(15:36 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Mon, 13 Feb 2006 15:36:13 +0000
(15:36 +0000)
stream_copy
patch by (Baptiste COUDURIER <baptiste@coudurier.smartjog@com>)
Originally committed as revision 5017 to svn://svn.ffmpeg.org/ffmpeg/trunk
ffmpeg.c
patch
|
blob
|
history
diff --git
a/ffmpeg.c
b/ffmpeg.c
index
6d22e43
..
3644e34
100644
(file)
--- a/
ffmpeg.c
+++ b/
ffmpeg.c
@@
-1661,6
+1661,7
@@
static int av_encode(AVFormatContext **output_files,
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;