Browse Source

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
tags/v0.5
Benoit Fouet 17 years ago
parent
commit
e7f3c72212
1 changed files with 0 additions and 1 deletions
  1. +0
    -1
      libavcodec/rawenc.c

+ 0
- 1
libavcodec/rawenc.c View File

@@ -40,7 +40,6 @@ static av_cold int raw_init_encoder(AVCodecContext *avctx)
static int raw_encode(AVCodecContext *avctx, static int raw_encode(AVCodecContext *avctx,
unsigned char *frame, int buf_size, void *data) 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, return avpicture_layout((AVPicture *)data, avctx->pix_fmt, avctx->width,
avctx->height, frame, buf_size); avctx->height, frame, buf_size);
} }


Loading…
Cancel
Save