8000 MNT: Move comment next to code it applies to: · matplotlib/matplotlib@d28e853 · GitHub
[go: up one dir, main page]

Skip to content

Commit d28e853

Browse files
committed
MNT: Move comment next to code it applies to:
1 parent 885b6fd commit d28e853

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/matplotlib/animation.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -420,15 +420,15 @@ class FFMpegBase(object):
420420

421421
@property
422422
def output_args(self):
423-
# The %dk adds 'k' as a suffix so that ffmpeg treats our bitrate as in
424-
# kbps
425423
args = ['-vcodec', self.codec]
426424
# For h264, the default format is yuv444p, which is not compatible
427425
# with quicktime (and others). Specifying yuv420p fixes playback on
428426
# iOS,as well as HTML5 video in firefox and safari (on both Win and
429427
# OSX). Also fixes internet explorer. This is as of 2015/10/29.
430428
if self.codec == 'h264' and '-pix_fmt' not in self.extra_args:
431429
args.extend(['-pix_fmt', 'yuv420p'])
430+
# The %dk adds 'k' as a suffix so that ffmpeg treats our bitrate as in
431+
# kbps
432432
if self.bitrate > 0:
433433
args.extend(['-b', '%dk' % self.bitrate])
434434
if self.extra_args:

0 commit comments

Comments
 (0)
0