Revert r15653.
Was "Copy pts for each raw encoded frame." It causes problems as timestamps management when video sync is zero needs rework in ffmpeg.c. Originally committed as revision 15669 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
19cf8e2027
commit
e7f3c72212
@ -40,7 +40,6 @@ static av_cold int raw_init_encoder(AVCodecContext *avctx)
|
||||
static int raw_encode(AVCodecContext *avctx,
|
||||
unsigned char *frame, int buf_size, void *data)
|
||||
{
|
||||
avctx->coded_frame->pts = ((AVFrame *)data)->pts;
|
||||
return avpicture_layout((AVPicture *)data, avctx->pix_fmt, avctx->width,
|
||||
avctx->height, frame, buf_size);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user