File tree 2 files changed +9
-0
lines changed
2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change
1
+ AVConv writer is back
2
+ ---------------------
3
+ Correct a bug that prevented detection of AVconv for matplotlib.animation.
Original file line number Diff line number Diff line change @@ -616,6 +616,7 @@ def output_args(self):
616
616
def _handle_subprocess (cls , process ):
617
617
_ , err = process .communicate ()
618
618
# Ubuntu 12.04 ships a broken ffmpeg binary which we shouldn't use
619
+ # NOTE : when removed, remove the same method in AVConvBase.
619
620
if 'Libav' in err .decode ():
620
621
return False
621
622
return True
@@ -674,6 +675,11 @@ class AVConvBase(FFMpegBase):
674
675
exec_key = 'animation.avconv_path'
675
676
args_key = 'animation.avconv_args'
676
677
678
+ # NOTE : should be removed when the same method is removed in FFMpegBase.
679
+ @classmethod
680
+ def _handle_subprocess (cls , process ):
681
+ return MovieWriter ._handle_subprocess (process )
682
+
677
683
678
684
# Combine AVConv options with pipe-based writing
679
685
@writers .register ('avconv' )
You can’t perform that action at this time.
0 commit comments