diff options
author | Rob Haarsma <phaseIV@zonnet.nl> | 2003-05-12 03:28:32 +0400 |
---|---|---|
committer | Rob Haarsma <phaseIV@zonnet.nl> | 2003-05-12 03:28:32 +0400 |
commit | 5756d0e1bd16d8d1540efdacb1895d1176eb032d (patch) | |
tree | c6cafdf9c78044547c989714473531695f8ae64f /source/blender/src/writeavicodec.c | |
parent | 83e91abcc54b8fb1ad03cd7eb2e0d092ac1b63ca (diff) |
modified userprefs layout.
modified linenumber display.
for Win32:
added display of framenumber in titlebar of animwindow.
added userpref that enables all codecs for rendering.
Diffstat (limited to 'source/blender/src/writeavicodec.c')
-rw-r--r-- | source/blender/src/writeavicodec.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/source/blender/src/writeavicodec.c b/source/blender/src/writeavicodec.c index 1a72caae39a..b729b1d944d 100644 --- a/source/blender/src/writeavicodec.c +++ b/source/blender/src/writeavicodec.c @@ -50,6 +50,7 @@ #include "MEM_guardedalloc.h" #include "BLI_blenlib.h" +#include "DNA_userdef_types.h" #include "render_types.h" #include "render.h" @@ -782,16 +783,23 @@ int get_avicodec_settings(void) AVICOMPRESSOPTIONS *aopts[1] = {&opts}; AviCodecData *acd = G.scene->r.avicodecdata; static PAVISTREAM psdummy; + UINT uiFlags; acd_to_opts(G.scene->r.avicodecdata); psdummy = NewBall(); + if(U.uiflag & ALLWINCODECS) + uiFlags = ICMF_CHOOSE_ALLCOMPRESSORS; + else + uiFlags = ICMF_CHOOSE_KEYFRAME | ICMF_CHOOSE_DATARATE; + if (psdummy == NULL) { ret_val = 1; } else { if (!AVISaveOptions(NULL, - ICMF_CHOOSE_KEYFRAME | ICMF_CHOOSE_DATARATE, + uiFlags, +// ICMF_CHOOSE_KEYFRAME | ICMF_CHOOSE_DATARATE, // ICMF_CHOOSE_ALLCOMPRESSORS, 1, &psdummy, |