From e7f3c722127e43b4d4ff46d3c10b55d8d4e56971 Mon Sep 17 00:00:00 2001 From: Benoit Fouet Date: Thu, 23 Oct 2008 07:30:16 +0000 Subject: [PATCH] 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 --- libavcodec/rawenc.c | 1 - 1 file changed, 1 deletion(-) diff --git a/libavcodec/rawenc.c b/libavcodec/rawenc.c index 1bfc8888b8..24f258066d 100644 --- a/libavcodec/rawenc.c +++ b/libavcodec/rawenc.c @@ -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); }