From 7fb02b23e48e43ab93016b72a0347c8ca5396713 Mon Sep 17 00:00:00 2001 From: Eric Firing Date: Tue, 22 Nov 2016 15:41:55 -1000 Subject: [PATCH] BUG: fix animation error introduced in #7208 --- lib/matplotlib/animation.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/matplotlib/animation.py b/lib/matplotlib/animation.py index 7f5742b31a4d..b4f1b77bb967 100644 --- a/lib/matplotlib/animation.py +++ b/lib/matplotlib/animation.py @@ -512,10 +512,9 @@ class FFMpegFileWriter(FileMovieWriter, FFMpegBase): def _args(self): # Returns the command line parameters for subprocess to use # ffmpeg to create a movie using a collection of temp images - return [self.bin_path(), # -r option is not needed before -i option + return [self.bin_path(), '-r', str(self.fps), '-i', self._base_temp_name(), - '-vframes', str(self._frame_counter), - '-r', str(self.fps)] + self.output_args + '-vframes', str(self._frame_counter)] + self.output_args # Base class of avconv information. AVConv has identical arguments to