playlist_t *p_playlist;
playlist_item_t *p_item;
playlist_item_t *p_child;
-
+
char *psz_line;
p_playlist = (playlist_t *) vlc_object_find( p_demux, VLC_OBJECT_PLAYLIST,
if( p_sys->psz_server && p_sys->psz_location )
{
char *temp;
-
+
asprintf( &temp, "rtsp://" "%s:%i%s",
p_sys->psz_server, p_sys->i_port > 0 ? p_sys->i_port : 554, p_sys->psz_location );
-
+
p_sys->psz_uri = strdup( temp );
free( temp );
}
msg_Err( p_demux, "no URI was found" );
return -1;
}
-
+
asprintf( &temp, "%s%%3FMeDiAbAsEshowingId=%d%%26MeDiAbAsEconcert%%3FMeDiAbAsE",
p_sys->psz_uri, p_sys->i_sid );
if( !p_sys->psz_mcast_ip )
{
char *psz_option;
- asprintf( &psz_option, "rtsp-caching=5000" );
- playlist_ItemAddOption( p_child, psz_option );
- free( psz_option );
+ asprintf( &psz_option, "rtsp-caching=5000" );
+ playlist_ItemAddOption( p_child, psz_option );
+ free( psz_option );
}
if( !p_sys->psz_mcast_ip && p_sys->b_rtsp_kasenna )
{