Changeset e20f85d648082e27409f0673596e670eb3abab09

Show
Ignore:
Timestamp:
11/09/07 23:16:03 (1 year ago)
Author:
Antoine Cellerier <dionoea@videolan.org>
git-committer:
Antoine Cellerier <dionoea@videolan.org> 1189545363 +0000
git-parent:

[f464bb35e8601535462bfd1bbcd8d2de79d404d7]

git-author:
Antoine Cellerier <dionoea@videolan.org> 1189545363 +0000
Message:

Add support for "iTunes podcast" (example: itpc://www.apple.com/trailers/home/podcasts/pc-2314.xml) which is basically http with a different access name.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/access/http.c

    rc42daaa re20f85d  
    9494    add_shortcut( "https" ); 
    9595    add_shortcut( "unsv" ); 
     96    add_shortcut( "itpc" ); /* iTunes Podcast */ 
    9697    set_callbacks( Open, Close ); 
    9798vlc_module_end(); 
     
    400401        p_access->psz_demux = strdup( "nsv" ); 
    401402    } 
     403    else if( !strcmp( p_access->psz_access, "itpc" ) ) 
     404    { 
     405        p_access->psz_demux = strdup( "podcast" ); 
     406    } 
    402407    else if( p_sys->psz_mime && 
    403408             !strncasecmp( p_sys->psz_mime, "application/xspf+xml", 20 ) &&