mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-06-19 21:40:21 +08:00
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
This commit is contained in:
2
ffmpeg.c
2
ffmpeg.c
@ -1779,6 +1779,8 @@ static int av_encode(AVFormatContext **output_files,
|
|||||||
codec->has_b_frames = icodec->has_b_frames;
|
codec->has_b_frames = icodec->has_b_frames;
|
||||||
break;
|
break;
|
||||||
case CODEC_TYPE_SUBTITLE:
|
case CODEC_TYPE_SUBTITLE:
|
||||||
|
codec->width = icodec->width;
|
||||||
|
codec->height = icodec->height;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
abort();
|
abort();
|
||||||
|
Reference in New Issue
Block a user