static void CloseDemux ( vlc_object_t * );
vlc_module_begin();
- set_description( _("SAP interface") );
+ set_description( _("SAP announces") );
set_category( CAT_PLAYLIST );
set_subcategory( SUBCAT_PLAYLIST_SD );
PLAYLIST_APPEND, PLAYLIST_END );
vlc_object_release( p_playlist );
- if( p_sdp ) FreeSDP( p_sdp );
+ if( p_sdp ) FreeSDP( p_sdp );
return VLC_SUCCESS;
}
/* First, check the sap announce is correct */
i_version = p_buffer[0] >> 5;
-
+msg_Dbg( p_sd, "." );
if( i_version != 1 )
{
msg_Dbg( p_sd, "strange sap version %d found", i_version );
}
else
{
- msg_Dbg( p_obj, "incorrect c field");
+ msg_Dbg( p_obj, "incorrect c field, %s", p_sdp->psz_connection );
}
psz_uri = strdup( psz_parse );
}
else
{
- msg_Dbg( p_obj, "incorrect m field");
+ msg_Dbg( p_obj, "incorrect m field, %s", p_sdp->psz_media );
p_sdp->i_media_type = 33;
psz_proto = strdup( psz_parse );
}
sdp_t *p_sdp;
vlc_bool_t b_invalid = VLC_FALSE;
vlc_bool_t b_end = VLC_FALSE;
-
+msg_Dbg( p_obj, "%s", psz_sdp );
if( psz_sdp == NULL )
{
return NULL;