mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-10-30 06:05:13 +00:00
[cleanup] Add deprecation warnings
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user