mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-22 07:20:45 +00:00
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
ffmpeg.c
1
ffmpeg.c
@ -794,6 +794,7 @@ static void do_video_out(AVFormatContext *s,
|
|||||||
}else
|
}else
|
||||||
big_picture.quality = ost->st->quality;
|
big_picture.quality = ost->st->quality;
|
||||||
big_picture.pict_type = 0;
|
big_picture.pict_type = 0;
|
||||||
|
big_picture.pts = AV_NOPTS_VALUE; //FIXME
|
||||||
ret = avcodec_encode_video(enc,
|
ret = avcodec_encode_video(enc,
|
||||||
video_buffer, VIDEO_BUFFER_SIZE,
|
video_buffer, VIDEO_BUFFER_SIZE,
|
||||||
&big_picture);
|
&big_picture);
|
||||||
|
Loading…
Reference in New Issue
Block a user