Changeset 47d4e675cc4eeeb24e02b97ef8cbe8baf39fc3ca

Show
Ignore:
Timestamp:
07/10/05 00:09:24 (3 years ago)
Author:
Laurent Aimar <fenrir@videolan.org>
git-committer:
Laurent Aimar <fenrir@videolan.org> 1128636564 +0000
git-parent:

[d4c07f8d566f766845c01ec7dd51032b4267ab7e]

git-author:
Laurent Aimar <fenrir@videolan.org> 1128636564 +0000
Message:
  • input: :demux=module really force module and bypass demuxer module given

by access.

  • udp: force ts demux on payload 33 (:demux=dump will work)
Files:

Legend:

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

    rd4c07f8 r47d4e67  
    457457        case 33: 
    458458            msg_Dbg( p_access, "detected TS over RTP" ); 
    459             /* Disabled because it is auto-detected. */ 
    460             /* p_access->psz_demux = strdup( "ts" ); */ 
     459            p_access->psz_demux = strdup( "ts" ); 
    461460            break; 
    462461 
  • src/input/input.c

    r331ee33 r47d4e67  
    19251925 
    19261926    if( !in ) return VLC_EGENERIC; 
    1927      
     1927 
    19281928    /* Split uri */ 
    19291929    if( !b_quick ) 
     
    19451945 
    19461946        if( psz_forced_demux && *psz_forced_demux ) 
     1947        { 
     1948            if( psz_demux ) free( psz_demux ); 
    19471949            psz_demux = psz_forced_demux; 
     1950        } 
     1951        else if( !psz_demux || *psz_demux == '\0' ) 
     1952        { 
     1953            /* special hack for forcing a demuxer with --demux=module 
     1954             * (and do nothing with a list) */ 
     1955            char *psz_var_demux = var_GetString( p_input, "demux" ); 
     1956 
     1957            if( *psz_var_demux != '\0' && 
     1958                !strchr(psz_var_demux, ',' ) && 
     1959                !strchr(psz_var_demux, ':' ) ) 
     1960            { 
     1961                psz_demux = psz_var_demux; 
     1962 
     1963                msg_Dbg( p_input, "Enforce demux ` %s'", psz_demux ); 
     1964            } 
     1965            else if( psz_var_demux ) 
     1966            { 
     1967                free( psz_var_demux ); 
     1968            } 
     1969        } 
    19481970 
    19491971        /* Try access_demux if no demux given */