Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Schlaile <peter@schlaile.de>2008-05-12 13:01:15 +0400
committerPeter Schlaile <peter@schlaile.de>2008-05-12 13:01:15 +0400
commit97dd2fe33e07ae96a48022165a5f2205163f59a3 (patch)
tree622c70fd810031e9a1f93730dfa6aeebfc531833 /source/blender/src/buttons_scene.c
parentb01e2c4a84ec71ccca28e7a5e5f950eb1a32a7a4 (diff)
== FFMPEG ==
Added (disabled) MKV support. Might come handy later, if someone finds out, why it instantly crashes after 2 frames. Made it impossible to set min_rate higher than max_rate in render buttons panel.
Diffstat (limited to 'source/blender/src/buttons_scene.c')
-rw-r--r--source/blender/src/buttons_scene.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/source/blender/src/buttons_scene.c b/source/blender/src/buttons_scene.c
index d3311af51e0..239710ed785 100644
--- a/source/blender/src/buttons_scene.c
+++ b/source/blender/src/buttons_scene.c
@@ -2789,8 +2789,10 @@ static void render_panel_ffmpeg_video(void)
&G.scene->r.ffcodecdata.video_bitrate,
1, 14000, 0, 0, "Video bitrate(kb/s)");
uiDefButI(block, NUM, B_DIFF, "Min Rate",
- xcol1, yofs+22, 110, 20, &G.scene->r.ffcodecdata.rc_min_rate,
- 0, 14000, 0, 0, "Rate control: min rate(kb/s)");
+ xcol1, yofs+22, 110, 20,
+ &G.scene->r.ffcodecdata.rc_min_rate,
+ 0, G.scene->r.ffcodecdata.rc_max_rate,
+ 0, 0, "Rate control: min rate(kb/s)");
uiDefButI(block, NUM, B_DIFF, "Max Rate",
xcol1, yofs, 110, 20, &G.scene->r.ffcodecdata.rc_max_rate,
1, 14000, 0, 0, "Rate control: max rate(kb/s)");
@@ -2823,7 +2825,8 @@ static void render_panel_ffmpeg_video(void)
0, 1, 0,0, "Autosplit output at 2GB boundary.");
- if (ELEM(G.scene->r.ffcodecdata.type, FFMPEG_AVI, FFMPEG_MOV)) {
+ if (ELEM3(G.scene->r.ffcodecdata.type, FFMPEG_AVI,
+ FFMPEG_MOV, FFMPEG_MKV)) {
uiDefBut(block, LABEL, 0, "Codec",
xcol1, yofs-44, 110, 20, 0, 0, 0, 0, 0, "");
uiDefButI(block, MENU,B_REDR, ffmpeg_codec_pup(),