[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [11742] branches/soc-2007-hcube/source/ blender/blenkernel/intern/writeffmpeg.c: bugfix: CFRA is updated automatically.
Csaba Hruska
csaba.hruska at gmail.com
Mon Aug 20 14:24:53 CEST 2007
Revision: 11742
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=11742
Author: hcube
Date: 2007-08-20 14:24:53 +0200 (Mon, 20 Aug 2007)
Log Message:
-----------
bugfix: CFRA is updated automatically.
Modified Paths:
--------------
branches/soc-2007-hcube/source/blender/blenkernel/intern/writeffmpeg.c
Modified: branches/soc-2007-hcube/source/blender/blenkernel/intern/writeffmpeg.c
===================================================================
--- branches/soc-2007-hcube/source/blender/blenkernel/intern/writeffmpeg.c 2007-08-20 12:18:24 UTC (rev 11741)
+++ branches/soc-2007-hcube/source/blender/blenkernel/intern/writeffmpeg.c 2007-08-20 12:24:53 UTC (rev 11742)
@@ -94,8 +94,6 @@
static RenderData *ffmpeg_renderdata = 0;
-static int oldCFRA = 0;
-
#define FFMPEG_AUTOSPLIT_SIZE 2000000000
/* Delete a picture buffer */
@@ -128,7 +126,6 @@
c = get_codec_from_stream(audio_stream);
// by hcube
- CFRA = seqaudio_getframeposition();
audio_mixbuffer_fill(audio_input_buffer, audio_input_frame_size);
av_init_packet(&pkt);
@@ -633,8 +630,6 @@
if (!audio_mixbuffer_open(44100.0)) {
return;
}
- oldCFRA = CFRA;
- CFRA = SFRA;
seqaudio_play();
}
if (av_set_parameters(of, NULL) < 0) {
@@ -769,7 +764,6 @@
if (ffmpeg_multiplex_audio) {
seqaudio_stop();
audio_mixbuffer_close();
- CFRA = oldCFRA;
}
/* Close the video codec */
More information about the Bf-blender-cvs
mailing list