From d43b26ea13b4dd3d386f83ad938876608acd6876 Mon Sep 17 00:00:00 2001 From: David Conrad Date: Sat, 17 Jan 2009 23:54:27 +0000 Subject: Copy width/height for subtitle streams (needed for scodec copy of mov/mp4 timed text) Originally committed as revision 16662 to svn://svn.ffmpeg.org/ffmpeg/trunk --- ffmpeg.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ffmpeg.c') diff --git a/ffmpeg.c b/ffmpeg.c index 51a5f95a58..cdb5e20ca7 100644 --- a/ffmpeg.c +++ b/ffmpeg.c @@ -1779,6 +1779,8 @@ static int av_encode(AVFormatContext **output_files, codec->has_b_frames = icodec->has_b_frames; break; case CODEC_TYPE_SUBTITLE: + codec->width = icodec->width; + codec->height = icodec->height; break; default: abort(); -- cgit v1.2.3