mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-12-22 14:25:12 +00:00
[atresplayer] call _merge_subtitles instead of update
This commit is contained in:
parent
25aa60a913
commit
7e51ac7712
@ -137,7 +137,7 @@ class AtresPlayerIE(InfoExtractor):
|
||||
if mpd:
|
||||
mpd_doc, mpd_handle = mpd
|
||||
mpd_base_url = base_url(mpd_handle.geturl())
|
||||
subtitles.update(self._get_mpd_subtitles(mpd_doc, mpd_base_url))
|
||||
subtitles = self._merge_subtitles(subtitles, self._get_mpd_subtitles(mpd_doc, mpd_base_url))
|
||||
formats.extend(self._parse_mpd_formats(
|
||||
mpd_doc, mpd_id='dash', mpd_base_url=mpd_base_url, mpd_url=src))
|
||||
self._sort_formats(formats)
|
||||
|
Loading…
Reference in New Issue
Block a user