forked from FFmpeg/FFmpeg
init has_b_frames for stream copy
Originally committed as revision 4060 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
d07355da77
commit
ff8cc24bf5
1 changed files with 1 additions and 0 deletions
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();
|
||||||
|
|
Loading…
Add table
Reference in a new issue