Browse Source

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
tags/v0.5
David Conrad 17 years ago
parent
commit
d43b26ea13
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      ffmpeg.c

+ 2
- 0
ffmpeg.c View File

@@ -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();


Loading…
Cancel
Save