Skip to content

Commit

Permalink
* src/input/input.c: hack to allow for the udp:@:port syntax again...…
Browse files Browse the repository at this point in the history
… not really pretty though.
  • Loading branch information
Gildas Bazin committed Sep 9, 2004
1 parent 7c239ef commit e6b511a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/input/input.c
Original file line number Diff line number Diff line change
Expand Up @@ -1540,6 +1540,10 @@ static int InputSourceInit( input_thread_t *p_input,
msg_Dbg( p_input, "`%s' gives access `%s' demux `%s' path `%s'",
psz_mrl, psz_access, psz_demux, psz_path );

/* Hack to allow udp://@:port syntax */
if( !psz_access ||
(strncmp( psz_access, "udp", 3 ) && strncmp( psz_access, "rtp", 3 )) )

/* Find optional titles and seekpoints */
MRLSections( p_input, psz_path, &in->i_title_start, &in->i_title_end,
&in->i_seekpoint_start, &in->i_seekpoint_end );
Expand Down

0 comments on commit e6b511a

Please sign in to comment.