[ffmpeg] Fix call to ffprobe (Fixes #4041)
[youtube-dl] / youtube_dl / postprocessor / xattrpp.py
index e230f2c540f453260aaabc777342a60211af092a..f6940940b340dea5c23e5ce118b8fcc4d7ee8574 100644 (file)
@@ -6,7 +6,7 @@ from .common import PostProcessor
 from ..utils import (
     check_executable,
     hyphenate_date,
-    preferredencoding,
+    subprocess_check_output
 )
 
 
@@ -58,7 +58,7 @@ class XAttrMetadataPP(PostProcessor):
                         elif user_has_xattr:
                             cmd = ['xattr', '-w', key, value, path]
 
-                        subprocess.check_output(cmd)
+                        subprocess_check_output(cmd)
 
                 else:
                     # On Unix, and can't find pyxattr, setfattr, or xattr.