~ubuntu-branches/ubuntu/vivid/youtube-dl/vivid

« back to all changes in this revision

Viewing changes to youtube_dl/downloader/__init__.py

  • Committer: Package Import Robot
  • Author(s): Rogério Brito
  • Date: 2015-03-01 02:12:13 UTC
  • mfrom: (44.1.24 sid)
  • Revision ID: package-import@ubuntu.com-20150301021213-8w657cue71kp77sz
Tags: 2015.02.28-1
Imported Upstream version 2015.02.28. Closes: #778765.

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
        if ed.supports(info_dict):
35
35
            return ed
36
36
 
 
37
    if protocol == 'm3u8' and params.get('hls_prefer_native'):
 
38
        return NativeHlsFD
 
39
 
37
40
    return PROTOCOL_MAP.get(protocol, HttpFD)
38
41
 
39
42