pts fix / b frame segfault fix
Originally committed as revision 3030 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
2de28abbfd
commit
e31d863ede
1 changed files with 1 additions and 0 deletions
1
ffmpeg.c
1
ffmpeg.c
|
|
@ -794,6 +794,7 @@ static void do_video_out(AVFormatContext *s,
|
|||
}else
|
||||
big_picture.quality = ost->st->quality;
|
||||
big_picture.pict_type = 0;
|
||||
big_picture.pts = AV_NOPTS_VALUE; //FIXME
|
||||
ret = avcodec_encode_video(enc,
|
||||
video_buffer, VIDEO_BUFFER_SIZE,
|
||||
&big_picture);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue