mirror of
https://github.com/yt-dlp/yt-dlp
synced 2025-12-17 06:35:42 +07:00
[cleanup] Add deprecation warnings
This commit is contained in:
@@ -167,6 +167,13 @@ def get_ffmpeg_version(path, prog):
|
||||
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