Commit 223aa971 authored by David Partyka's avatar David Partyka
Browse files

Set bit tolerance

MJPEG complains if it isn't set when trying to write an avi.
parent 6874c3d5
......@@ -176,6 +176,8 @@ int vtkFFMPEGWriterInternal::Start()
c->bit_rate_tolerance = c->bit_rate/this->FrameRate;
//apply the chosen parameters
if (av_set_parameters(this->avFormatContext, NULL) < 0)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment