changeset 8043:a591c3736fd8 libavcodec

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.
author benoit
date Thu, 23 Oct 2008 07:30:16 +0000
parents e70975d5ff80
children 8c1e1047ec78
files rawenc.c
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/rawenc.c	Tue Oct 21 21:40:24 2008 +0000
+++ b/rawenc.c	Thu Oct 23 07:30:16 2008 +0000
@@ -40,7 +40,6 @@
 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);
 }