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

conrad subversion
Sun Jan 18 00:54:28 CET 2009


Author: conrad
Date: Sun Jan 18 00:54:27 2009
New Revision: 16662

Log:
Copy width/height for subtitle streams (needed for scodec copy of mov/mp4
timed text)

Modified:
   trunk/ffmpeg.c

Modified: trunk/ffmpeg.c
==============================================================================
--- trunk/ffmpeg.c	Sat Jan 17 22:44:58 2009	(r16661)
+++ trunk/ffmpeg.c	Sun Jan 18 00:54:27 2009	(r16662)
@@ -1779,6 +1779,8 @@ static int av_encode(AVFormatContext **o
                 codec->has_b_frames = icodec->has_b_frames;
                 break;
             case CODEC_TYPE_SUBTITLE:
+                codec->width = icodec->width;
+                codec->height = icodec->height;
                 break;
             default:
                 abort();




More information about the ffmpeg-cvslog mailing list