init has_b_frames for stream copy
Originally committed as revision 4060 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
1
ffmpeg.c
1
ffmpeg.c
@@ -1533,6 +1533,7 @@ static int av_encode(AVFormatContext **output_files,
|
|||||||
codec->frame_rate_base = icodec->frame_rate_base;
|
codec->frame_rate_base = icodec->frame_rate_base;
|
||||||
codec->width = icodec->width;
|
codec->width = icodec->width;
|
||||||
codec->height = icodec->height;
|
codec->height = icodec->height;
|
||||||
|
codec->has_b_frames = icodec->has_b_frames;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
av_abort();
|
av_abort();
|
||||||
|
|||||||
Reference in New Issue
Block a user