Skip to content

Commit

Permalink
BUG: fix animation error introduced in matplotlib#7208
Browse files Browse the repository at this point in the history
  • Loading branch information
efiring committed Nov 23, 2016
1 parent e46e1c0 commit 7fb02b2
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/matplotlib/animation.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7fb02b2

Please sign in to comment.