Skip to content

Commit 39d481d

Browse files
committed
Fix 'animation' unable to detect AVConv ; bug introduced in 926a59f.
1 parent b07fbb8 commit 39d481d

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

doc/users/whats_new/fix_avconv.rst

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
AVConv writer is back
2+
---------------------
3+
Correct a bug that prevented detection of AVconv for matplotlib.animation.

lib/matplotlib/animation.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -616,7 +616,7 @@ def output_args(self):
616616
def _handle_subprocess(cls, process):
617617
_, err = process.communicate()
618618
# Ubuntu 12.04 ships a broken ffmpeg binary which we shouldn't use
619-
if 'Libav' in err.decode():
619+
if 'Libav' in err.decode() and 'AVConv' not in cls.__name__:
620620
return False
621621
return True
622622

0 commit comments

Comments
 (0)