def _extract_smil_formats(self, smil_url, video_id, fatal=True, f4m_params=None, transform_source=None):
    smil = self._download_smil(smil_url, video_id, fatal=fatal, transform_source=transform_source)
    if (smil is False):
        assert (not fatal)
        return []
    namespace = self._parse_smil_namespace(smil)
    return self._parse_smil_formats(smil, smil_url, video_id, namespace=namespace, f4m_params=f4m_params)
def _extract_smil_formats(self, smil_url, video_id, fatal=True, f4m_params=None, transform_source=None):
    smil = self._download_smil(smil_url, video_id, fatal=fatal, transform_source=transform_source)
    if (smil is False):
        assert (not fatal)
        return []
    namespace = self._parse_smil_namespace(smil)
    return self._parse_smil_formats(smil, smil_url, video_id, namespace=namespace, f4m_params=f4m_params)