mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-11-16 14:45:45 +00:00
[atresplayer] call _merge_subtitles instead of update
This commit is contained in:
parent
25aa60a913
commit
7e51ac7712
1 changed files with 1 additions and 1 deletions
|
@ -137,7 +137,7 @@ class AtresPlayerIE(InfoExtractor):
|
||||||
if mpd:
|
if mpd:
|
||||||
mpd_doc, mpd_handle = mpd
|
mpd_doc, mpd_handle = mpd
|
||||||
mpd_base_url = base_url(mpd_handle.geturl())
|
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(
|
formats.extend(self._parse_mpd_formats(
|
||||||
mpd_doc, mpd_id='dash', mpd_base_url=mpd_base_url, mpd_url=src))
|
mpd_doc, mpd_id='dash', mpd_base_url=mpd_base_url, mpd_url=src))
|
||||||
self._sort_formats(formats)
|
self._sort_formats(formats)
|
||||||
|
|
Loading…
Reference in a new issue