C_SEND,
C_DEL,
C_CONTROL,
-
- C_MAX
};
typedef struct
if( !p_storage )
{
CmdClean( p_cmd );
+ vlc_mutex_unlock( &p_ts->lock );
+ /* TODO warn the user (but only once) */
return;
}
}
}
+ /* TODO return error and warn the user (but only once) */
TsStoragePushCmd( p_ts->p_storage_w, p_cmd, p_ts->p_storage_r == p_ts->p_storage_w );
vlc_cond_signal( &p_ts->wait );
}
else
{
- fprintf( stderr, "----------------- 2: %m\n" );
+ //fprintf( stderr, "TsStoragePopCmd: %m\n" );
p_cmd->send.p_block = block_Alloc( 1 );
}
}