[SCM] libav/experimental: 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.
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 16:31:36 UTC 2013
The following commit has been merged in the experimental branch:
commit e7f3c722127e43b4d4ff46d3c10b55d8d4e56971
Author: Benoit Fouet <benoit.fouet at free.fr>
Date: Thu Oct 23 07:30:16 2008 +0000
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
diff --git a/libavcodec/rawenc.c b/libavcodec/rawenc.c
index 1bfc888..24f2580 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);
}
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list