@@ -93,9 +93,9 @@ def correct_roundoff(x, dpi, n):
9393 return correct_roundoff (wnew , dpi , n ), correct_roundoff (hnew , dpi , n )
9494
9595
96- # A registry for available MovieWriter classes
9796class MovieWriterRegistry :
9897 """Registry of available writer classes by human readable name."""
98+
9999 def __init__ (self ):
100100 self ._registered = dict ()
101101
@@ -104,7 +104,8 @@ def set_dirty(self):
104104 """Sets a flag to re-setup the writers."""
105105
106106 def register (self , name ):
107- """Decorator for registering a class under a name.
107+ """
108+ Decorator for registering a class under a name.
108109
109110 Example use::
110111
@@ -564,7 +565,8 @@ def finish(self):
564565# Base class of ffmpeg information. Has the config keys and the common set
565566# of arguments that controls the *output* side of things.
566567class FFMpegBase :
567- """Mixin class for FFMpeg output.
568+ """
569+ Mixin class for FFMpeg output.
568570
569571 To be useful this must be multiply-inherited from with a
570572 `MovieWriterBase` sub-class.
@@ -606,7 +608,8 @@ def isAvailable(cls):
606608# Combine FFMpeg options with pipe-based writing
607609@writers .register ('ffmpeg' )
608610class FFMpegWriter (FFMpegBase , MovieWriter ):
609- """Pipe-based ffmpeg writer.
611+ """
612+ Pipe-based ffmpeg writer.
610613
611614 Frames are streamed directly to ffmpeg via a pipe and written in a single
612615 pass.
0 commit comments