mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
pass frame_size for stream copy
Originally committed as revision 2943 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
2f996b8397
commit
0a3b044718
1
ffmpeg.c
1
ffmpeg.c
@ -1202,6 +1202,7 @@ static int av_encode(AVFormatContext **output_files,
|
|||||||
case CODEC_TYPE_AUDIO:
|
case CODEC_TYPE_AUDIO:
|
||||||
codec->sample_rate = icodec->sample_rate;
|
codec->sample_rate = icodec->sample_rate;
|
||||||
codec->channels = icodec->channels;
|
codec->channels = icodec->channels;
|
||||||
|
codec->frame_size = icodec->frame_size;
|
||||||
break;
|
break;
|
||||||
case CODEC_TYPE_VIDEO:
|
case CODEC_TYPE_VIDEO:
|
||||||
codec->frame_rate = icodec->frame_rate;
|
codec->frame_rate = icodec->frame_rate;
|
||||||
|
Loading…
Reference in New Issue
Block a user