[SCM] libav/experimental: This patch makes output codec keeping input pix_fmt value when using stream_copy patch by (Baptiste COUDURIER <baptiste at coudurier.smartjog@com>)
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 15:46:33 UTC 2013
The following commit has been merged in the experimental branch:
commit 9df3437fe1fb99554a9bc2490e267db47fa850ae
Author: Baptiste Coudurier <baptiste.coudurier at smartjog.com>
Date: Mon Feb 13 15:36:13 2006 +0000
This patch makes output codec keeping input pix_fmt value when using
stream_copy
patch by (Baptiste COUDURIER <baptiste at coudurier.smartjog@com>)
Originally committed as revision 5017 to svn://svn.ffmpeg.org/ffmpeg/trunk
diff --git a/ffmpeg.c b/ffmpeg.c
index 6d22e43..3644e34 100644
--- 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;
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list