[gst-cvs] thaytan gst-ffmpeg: gst-ffmpeg/ gst-ffmpeg/ext/ffmpeg/

thaytan at kemper.freedesktop.org thaytan at kemper.freedesktop.org
Fri Jun 22 05:13:44 PDT 2007


CVS Root:       /cvs/gstreamer
Module:         gst-ffmpeg
Changes by:     thaytan
Date:           Fri Jun 22 2007  12:13:32 UTC

Log message:
* ext/ffmpeg/gstffmpegenc.c: (ffmpegenc_setup_working_buf),
(gst_ffmpegenc_chain_video), (gst_ffmpegenc_flush_buffers),
(gst_ffmpegenc_change_state):
* ext/ffmpeg/gstffmpegenc.h:
Instead of allocating 512KB buffers and then setting BUFFER_SIZE
to what ffmpeg produced, we're better off by far to use a single
working buffer and copy data out into neat little buffers.
This prevents exhorbitant virtual memory wastage in the form
of allocated but untouched buffers.

Modified files:
    .               : ChangeLog
    ext/ffmpeg      : gstffmpegenc.c gstffmpegenc.h

Links:
http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-ffmpeg/ChangeLog.diff?r1=1.396&r2=1.397
http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-ffmpeg/ext/ffmpeg/gstffmpegenc.c.diff?r1=1.101&r2=1.102
http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-ffmpeg/ext/ffmpeg/gstffmpegenc.h.diff?r1=1.6&r2=1.7




More information about the Gstreamer-commits mailing list