diff options
author | David Conrad <lessen42@gmail.com> | 2009-05-12 00:47:19 +0000 |
---|---|---|
committer | David Conrad <lessen42@gmail.com> | 2009-05-12 00:47:19 +0000 |
commit | de9618013711ebc4d562c8fe4c53f51a90b2afe0 (patch) | |
tree | c502c454747ea903b2356bad46f50f8129a6e535 /ffmpeg.c | |
parent | c67d725589596bf7a872525727d93bd24311a5eb (diff) | |
download | ffmpeg-de9618013711ebc4d562c8fe4c53f51a90b2afe0.tar.gz |
Copy input codec's chroma_sample_location to output codec when transcoding.
Currently only used by yuv4mpeg.
Originally committed as revision 18799 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffmpeg.c')
-rw-r--r-- | ffmpeg.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1749,6 +1749,7 @@ static int av_encode(AVFormatContext **output_files, ost->st->disposition = ist->st->disposition; codec->bits_per_raw_sample= icodec->bits_per_raw_sample; + codec->chroma_sample_location = icodec->chroma_sample_location; if (ost->st->stream_copy) { /* if stream_copy is selected, no need to decode or encode */ |