[FFmpeg-cvslog] r18799 - trunk/ffmpeg.c

conrad subversion
Tue May 12 02:47:20 CEST 2009


Author: conrad
Date: Tue May 12 02:47:19 2009
New Revision: 18799

Log:
Copy input codec's chroma_sample_location to output codec when transcoding.
Currently only used by yuv4mpeg.

Modified:
   trunk/ffmpeg.c

Modified: trunk/ffmpeg.c
==============================================================================
--- trunk/ffmpeg.c	Mon May 11 21:21:49 2009	(r18798)
+++ trunk/ffmpeg.c	Tue May 12 02:47:19 2009	(r18799)
@@ -1749,6 +1749,7 @@ static int av_encode(AVFormatContext **o
 
         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 */



More information about the ffmpeg-cvslog mailing list