1
0
Fork 0

[cleanup] Add deprecation warnings

This commit is contained in:
pukkandan 2021-11-29 23:16:06 +05:30
commit ee8dd27a73
No known key found for this signature in database
GPG key ID: 0F00D95A001F4698
10 changed files with 81 additions and 18 deletions

View file

@ -167,6 +167,13 @@ class FFmpegPostProcessor(PostProcessor):
self.probe_basename = p
break
if self.basename == 'avconv':
self.deprecation_warning(
'Support for avconv is deprecated and may be removed in a future version. Use ffmpeg instead')
if self.probe_basename == 'avprobe':
self.deprecation_warning(
'Support for avprobe is deprecated and may be removed in a future version. Use ffprobe instead')
@property
def available(self):
return self.basename is not None