1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-02 01:02:48 +01:00

[ruutu] Disable DASH formats (closes #12322)

Due to causing out of sync issue
This commit is contained in:
Sergey M․ 2017-03-02 23:53:46 +07:00
parent 250eea6821
commit 4d345bf17b
No known key found for this signature in database
GPG Key ID: 2C393E0F18A9236D

View File

@ -82,6 +82,9 @@ def extract_formats(node):
formats.extend(self._extract_f4m_formats( formats.extend(self._extract_f4m_formats(
video_url, video_id, f4m_id='hds', fatal=False)) video_url, video_id, f4m_id='hds', fatal=False))
elif ext == 'mpd': elif ext == 'mpd':
# video-only and audio-only streams are of different
# duration resulting in out of sync issue
continue
formats.extend(self._extract_mpd_formats( formats.extend(self._extract_mpd_formats(
video_url, video_id, mpd_id='dash', fatal=False)) video_url, video_id, mpd_id='dash', fatal=False))
else: else: