/* Go through the playlist and add items */
for( i = 0; i< p_playlist->i_size ; i++)
{
- if( p_playlist->pp_items[i]->i_flags & ~PLAYLIST_SAVE_FLAG )
+ if( (p_playlist->pp_items[i]->i_flags & PLAYLIST_SAVE_FLAG) == 0 )
{
continue;
}
/* 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 );
}
p_item->i_flags &= ~PLAYLIST_SKIP_FLAG;
+ p_item->i_flags &= ~PLAYLIST_SAVE_FLAG;
playlist_NodeAddItem( p_playlist, p_item, VIEW_CATEGORY, p_child,
PLAYLIST_APPEND, PLAYLIST_END );
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;
p_item->i_flags = 0;
p_item->i_flags |= PLAYLIST_SKIP_FLAG;
+ p_item->i_flags |= PLAYLIST_SAVE_FLAG;
p_item->input.i_duration = -1;
p_item->input.ppsz_options = NULL;