mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-08-18 01:56:03 +03:00
Minor bugfixes
* `__real_download` should be false when ffmpeg unavailable and no download * Mistakes in #70 * `allow_playlist_files` was not correctly pass through
This commit is contained in:
@@ -482,7 +482,7 @@ class BrightcoveNewIE(AdobePassIE):
|
||||
if not self._downloader.params.get('allow_unplayable_formats') and (container == 'WVM' or source.get('key_systems')):
|
||||
num_drm_sources += 1
|
||||
continue
|
||||
elif ext == 'ism' and self._downloader.params.get('allow_unplayable_formats'):
|
||||
elif ext == 'ism' and not self._downloader.params.get('allow_unplayable_formats'):
|
||||
continue
|
||||
elif ext == 'm3u8' or container == 'M2TS':
|
||||
if not src:
|
||||
|
||||
@@ -125,7 +125,7 @@ class RTBFIE(InfoExtractor):
|
||||
})
|
||||
|
||||
mpd_url = data.get('urlDash')
|
||||
if (not self._downloader.params.get('allow_unplayable_formats') and not data.get('drm')) and mpd_url:
|
||||
if mpd_url and (self._downloader.params.get('allow_unplayable_formats') or not data.get('drm')):
|
||||
formats.extend(self._extract_mpd_formats(
|
||||
mpd_url, media_id, mpd_id='dash', fatal=False))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user