[Ffmpeg-cvslog] CVS: ffmpeg/libavcodec dv.c,1.61,1.62
Michael Niedermayer CVS
michael
Thu Aug 11 03:28:07 CEST 2005
Update of /cvsroot/ffmpeg/ffmpeg/libavcodec
In directory mail:/var2/tmp/cvs-serv10826
Modified Files:
dv.c
Log Message:
DV video encoder/decoder doesn't set keyframe and picture type properties patch by (Edward Hervey:bilboed,gmail com)
Index: dv.c
===================================================================
RCS file: /cvsroot/ffmpeg/ffmpeg/libavcodec/dv.c,v
retrieving revision 1.61
retrieving revision 1.62
diff -u -d -r1.61 -r1.62
--- dv.c 10 May 2005 20:39:11 -0000 1.61
+++ dv.c 11 Aug 2005 01:28:04 -0000 1.62
@@ -897,6 +897,8 @@
avctx->release_buffer(avctx, &s->picture);
s->picture.reference = 0;
+ s->picture.key_frame = 1;
+ s->picture.pict_type = FF_I_TYPE;
avctx->pix_fmt = s->sys->pix_fmt;
avctx->width = s->sys->width;
avctx->height = s->sys->height;
@@ -933,6 +935,8 @@
c->pix_fmt = s->sys->pix_fmt;
s->picture = *((AVFrame *)data);
+ s->picture.key_frame = 1;
+ s->picture.pict_type = FF_I_TYPE;
s->buf = buf;
c->execute(c, dv_encode_mt, (void**)&dv_anchor[0], NULL,
More information about the ffmpeg-cvslog
mailing list