Original commit message from CVS:
Reviewed by: Luca Ognibene <luogni@tin.it>
* ext/ffmpeg/gstffmpegenc.c (gst_ffmpegenc_chain_video):
set the GST_BUFFER_DELTA_UNIT while encoding
fix #308804
+2005-06-25 Sebastien Cote <sc5@hermes.usherb.ca>
+
+ Reviewed by: Luca Ognibene <luogni@tin.it>
+
+ * ext/ffmpeg/gstffmpegenc.c (gst_ffmpegenc_chain_video):
+ set the GST_BUFFER_DELTA_UNIT while encoding
+ fix #308804
+
2005-06-20 Edward Hervey <edward@fluendo.com>
* ext/libpostproc/gstpostproc.c: (gst_postproc_register):
GST_BUFFER_SIZE (outbuf) = ret_size;
GST_BUFFER_TIMESTAMP (outbuf) = GST_BUFFER_TIMESTAMP (inbuf);
GST_BUFFER_DURATION (outbuf) = GST_BUFFER_DURATION (inbuf);
+ if (ffmpegenc->context->coded_frame->key_frame == 0)
+ GST_BUFFER_FLAG_SET (outbuf, GST_BUFFER_DELTA_UNIT);
gst_pad_push (ffmpegenc->srcpad, GST_DATA (outbuf));
gst_buffer_unref (inbuf);