aboutsummaryrefslogtreecommitdiffstats
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorDavid Conrad <lessen42@gmail.com>2009-01-17 23:54:27 +0000
committerDavid Conrad <lessen42@gmail.com>2009-01-17 23:54:27 +0000
commitd43b26ea13b4dd3d386f83ad938876608acd6876 (patch)
tree9f4d1c5e29b0755d480ab5d33c1e417207fe8034 /ffmpeg.c
parent9dbd3ed6c37d6df1a8846c558c504aa4578d92ae (diff)
downloadffmpeg-d43b26ea13b4dd3d386f83ad938876608acd6876.tar.gz
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
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c2
1 files changed, 2 insertions, 0 deletions
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();