Changeset 8764d2a1a6b555eaaeec81bc953cc723608f5ebf

Show
Ignore:
Timestamp:
07/05/08 16:34:32 (5 months ago)
Author:
Rémi Denis-Courmont <rem@videolan.org>
git-committer:
Rémi Denis-Courmont <rem@videolan.org> 1210170872 +0300
git-parent:

[8e65c917b65fd1d419853f42d9440de260c9a52d]

git-author:
Rémi Denis-Courmont <rem@videolan.org> 1210170864 +0300
Message:

sout-std: remove RTP stuff (since we don't have a RTP access output)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/stream_out/standard.c

    r06ea7e5 r8764d2a  
    285285            psz_mux = strdup("asfh"); 
    286286        } 
    287         else if (!strcmp (psz_access, "udp") 
    288               || !strcmp (psz_access, "rtp")) 
     287        else if (!strcmp (psz_access, "udp")) 
    289288        { 
    290289            psz_mux = strdup("ts"); 
     
    334333        } 
    335334    } 
    336     else if( ( !strncmp( psz_access, "rtp", 3 ) || 
    337                !strncmp( psz_access, "udp", 3 ) ) ) 
     335    else if( !strncmp( psz_access, "udp", 3 ) ) 
    338336    { 
    339337        if( !strncmp( psz_mux, "ffmpeg", 6 ) ) 
     
    341339            char *psz_ffmpeg_mux = var_CreateGetString( p_this, "ffmpeg-mux" ); 
    342340            if( !psz_ffmpeg_mux || strncmp( psz_ffmpeg_mux, "mpegts", 6 ) ) 
    343                 msg_Err( p_stream, "UDP and RTP are only valid with TS" ); 
     341                msg_Err( p_stream, "UDP is only valid with TS" ); 
    344342            free( psz_ffmpeg_mux ); 
    345343        } 
    346344        else if( strncmp( psz_mux, "ts", 2 ) ) 
    347345        { 
    348             msg_Err( p_stream, "UDP and RTP are only valid with TS" ); 
     346            msg_Err( p_stream, "UDP is only valid with TS" ); 
    349347        } 
    350348    }