Updated Quicktime code so settings can be stored in the blendfile.
[blender.git] / source / blender / blenloader / intern / writefile.c
index c7db707cceb95b0dcb90079329a8cfbff45c3a18..640e53330230a6ef00461a0230570ac43e31ce68 100644 (file)
@@ -1164,6 +1164,11 @@ static void write_scenes(WriteData *wd, ListBase *scebase)
                        if (sce->r.avicodecdata->lpParms) writedata(wd, DATA, sce->r.avicodecdata->cbParms, sce->r.avicodecdata->lpParms);
                }
                
+               if (sce->r.qtcodecdata) {
+                       writestruct(wd, DATA, "QuicktimeCodecData", 1, sce->r.qtcodecdata);
+                       if (sce->r.qtcodecdata->cdParms) writedata(wd, DATA, sce->r.qtcodecdata->cdSize, sce->r.qtcodecdata->cdParms);
+               }
+
                sce= sce->id.next;
        }
 }